Skip to content

linghengqian/presto-datatype-metadata-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

presto-datatype-metadata-test

sdk install java 21.0.2-open

git clone [email protected]:linghengqian/presto-datatype-metadata-test.git
cd ./presto-datatype-metadata-test/
sdk use java 21.0.2-open
./mvnw -T 1C clean test
  • The log is as follows.
$ ./mvnw -T 1C clean test
[INFO] Scanning for projects...
[INFO] 
[INFO] Using the MultiThreadedBuilder implementation with a thread count of 16
[INFO] 
[INFO] --------< io.github.linghengqian:presto-datatype-metadata-test >--------
[INFO] Building presto-datatype-metadata-test 1.0-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- clean:3.2.0:clean (default-clean) @ presto-datatype-metadata-test ---
[INFO] Deleting /home/linghengqian/TwinklingLiftWorks/git/public/presto-datatype-metadata-test/target
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ presto-datatype-metadata-test ---
[INFO] skip non existing resourceDirectory /home/linghengqian/TwinklingLiftWorks/git/public/presto-datatype-metadata-test/src/main/resources
[INFO] 
[INFO] --- compiler:3.13.0:compile (default-compile) @ presto-datatype-metadata-test ---
[INFO] No sources to compile
[INFO] 
[INFO] --- resources:3.3.1:testResources (default-testResources) @ presto-datatype-metadata-test ---
[INFO] Copying 4 resources from src/test/resources to target/test-classes
[INFO] 
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ presto-datatype-metadata-test ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 1 source file with javac [debug target 21] to target/test-classes
[INFO] 
[INFO] --- surefire:3.2.5:test (default-test) @ presto-datatype-metadata-test ---
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.lingh.PrestoTest
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 17.30 s <<< FAILURE! -- in com.lingh.PrestoTest
[ERROR] com.lingh.PrestoTest.test -- Time elapsed: 17.20 s <<< FAILURE!
java.lang.AssertionError: 

Expected: a collection containing "varchar(50)"
     but: was "tinyint", was "bigint", was "varbinary", was "integer", was "smallint", was "real", was "double", was "boolean", was "date", was "time", was "timestamp", was "interval year to month", was "SetDigest", was "json", was "CodePoints", was "unknown", was "SfmSketch", was "Model", was "interval day to second", was "BingTile", was "P4HyperLogLog", was "KdbTree", was "LikePattern", was "Geometry", was "ipaddress", was "JsonPath", was "Regressor", was "JoniRegExp", was "uuid", was "ipprefix", was "ObjectId", was "color", was "KHyperLogLog", was "SphericalGeography", was "HyperLogLog", was "decimal", was "kllsketch", was "map", was "Re2JRegExp", was "varchar", was "qdigest", was "BigintEnum", was "VarcharEnum", was "function", was "tdigest", was "char", was "Classifier", was "row", was "array", was "time with time zone", was "timestamp with time zone"
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
        at com.lingh.PrestoTest.test(PrestoTest.java:80)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)

[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   PrestoTest.test:80 
Expected: a collection containing "varchar(50)"
     but: was "tinyint", was "bigint", was "varbinary", was "integer", was "smallint", was "real", was "double", was "boolean", was "date", was "time", was "timestamp", was "interval year to month", was "SetDigest", was "json", was "CodePoints", was "unknown", was "SfmSketch", was "Model", was "interval day to second", was "BingTile", was "P4HyperLogLog", was "KdbTree", was "LikePattern", was "Geometry", was "ipaddress", was "JsonPath", was "Regressor", was "JoniRegExp", was "uuid", was "ipprefix", was "ObjectId", was "color", was "KHyperLogLog", was "SphericalGeography", was "HyperLogLog", was "decimal", was "kllsketch", was "map", was "Re2JRegExp", was "varchar", was "qdigest", was "BigintEnum", was "VarcharEnum", was "function", was "tdigest", was "char", was "Classifier", was "row", was "array", was "time with time zone", was "timestamp with time zone"
[INFO] 
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  19.932 s (Wall Clock)
[INFO] Finished at: 2025-01-26T14:12:11+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.2.5:test (default-test) on project presto-datatype-metadata-test: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/linghengqian/TwinklingLiftWorks/git/public/presto-datatype-metadata-test/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException