Rename several type tags to improve error messages:
- orderedlist -> array
- unorderedlist -> multiset
- record -> object
- int8 -> tinyint
- int16 -> smallint
- int32 -> integer
- int64 -> bigint
Change-Id: I5a2eb6534f80af102832f079dfcb92fab5fc34fa
Reviewed-on: https://asterix-gerrit.ics.uci.edu/1724
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
BAD: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Till Westmann <tillw@apache.org>
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/testsuite.xml b/asterixdb/asterix-app/src/test/resources/runtimets/testsuite.xml
index d28371d..a69d313 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/testsuite.xml
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/testsuite.xml
@@ -2672,7 +2672,7 @@
<test-case FilePath="fuzzyjoin">
<compilation-unit name="dblp-aqlplus_2">
<output-dir compare="Text">dblp-aqlplus_2</output-dir>
- <expected-error>Type mismatch: function similarity-jaccard expects its 1st input parameter to be type orderedlist or unorderedlist, but the actual input type is string</expected-error>
+ <expected-error>Type mismatch: function similarity-jaccard expects its 1st input parameter to be type array or multiset, but the actual input type is string</expected-error>
</compilation-unit>
</test-case>
<test-case FilePath="fuzzyjoin">
@@ -3452,13 +3452,13 @@
<test-case FilePath="open-index-enforced/error-checking">
<compilation-unit name="index-type-collision">
<output-dir compare="Text">index-type-collision</output-dir>
- <expected-error>Cannot create index testIdx2 , enforced index testIdx1 on field "[value]" is already defined with type "[int32]"</expected-error>
+ <expected-error>Cannot create index testIdx2 , enforced index testIdx1 on field "[value]" is already defined with type "[integer]"</expected-error>
</compilation-unit>
</test-case>
<test-case FilePath="open-index-enforced/error-checking">
<compilation-unit name="index-type-promotion-collision">
<output-dir compare="Text">index-type-promotion-collision</output-dir>
- <expected-error>Cannot create index testIdx2 , enforced index testIdx1 on field "[value]" is already defined with type "[int64]"</expected-error>
+ <expected-error>Cannot create index testIdx2 , enforced index testIdx1 on field "[value]" is already defined with type "[bigint]"</expected-error>
</compilation-unit>
</test-case>
<test-case FilePath="open-index-enforced/error-checking">
@@ -6962,10 +6962,10 @@
<test-case FilePath="types">
<compilation-unit name="domain_boundaries_error">
<output-dir compare="Text">domain_boundaries_error</output-dir>
- <expected-error>ASX0006: Invalid format for int8 in int8</expected-error>
- <expected-error>ASX0006: Invalid format for int16 in int16</expected-error>
- <expected-error>ASX0006: Invalid format for int32 in int32</expected-error>
- <expected-error>ASX0006: Invalid format for int64 in int64</expected-error>
+ <expected-error>ASX0006: Invalid format for int8 in tinyint</expected-error>
+ <expected-error>ASX0006: Invalid format for int16 in smallint</expected-error>
+ <expected-error>ASX0006: Invalid format for int32 in integer</expected-error>
+ <expected-error>ASX0006: Invalid format for int64 in bigint</expected-error>
</compilation-unit>
</test-case>
<test-case FilePath="types">