[NO ISSUE][COMP] Automatically adjust primary key field type
authorDmitry Lychagin <dmitry.lychagin@couchbase.com>
Thu, 11 Nov 2021 01:25:28 +0000 (17:25 -0800)
committerDmitry Lychagin <dmitry.lychagin@couchbase.com>
Thu, 11 Nov 2021 17:11:44 +0000 (17:11 +0000)
commit4fb583dd0f0af1648f95ab038e196a231df188d8
treea5bd20a0b1e6d747a01f3b133ef172ba90dc03c5
parent544cfdd77f48e0e280b33c4d2a6973e1f2ffa493
[NO ISSUE][COMP] Automatically adjust primary key field type

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- Automatically set type quantifier to NOT UKNOWN for
  primary key fields in CREATE DATASET / VIEW with
  inline type definition

Change-Id: Id01e3a1a30a44964d5a2a71305b3e3d14ecacfb9
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/14026
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Dmitry Lychagin <dmitry.lychagin@couchbase.com>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
12 files changed:
asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/ddl/create-dataset-inline-type-1/create-dataset-inline-type-1.1.ddl.sqlpp
asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/view/create-view-3-typed/create-view-3-typed.1.ddl.sqlpp
asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/view/create-view-3-typed/create-view-3-typed.12.query.sqlpp
asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/view/create-view-6-typed-negative/create-view-6-typed-negative.11.ddl.sqlpp
asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/view/create-view-6-typed-negative/create-view-6-typed-negative.12.ddl.sqlpp
asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/view/create-view-6-typed-negative/create-view-6-typed-negative.26.ddl.sqlpp [deleted file]
asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/view/create-view-6-typed-negative/create-view-6-typed-negative.27.ddl.sqlpp [deleted file]
asterixdb/asterix-app/src/test/resources/runtimets/results/ddl/create-dataset-inline-type-1/create-dataset-inline-type-1.2.adm
asterixdb/asterix-app/src/test/resources/runtimets/results/view/create-view-3-typed/create-view-3-typed.12.adm
asterixdb/asterix-app/src/test/resources/runtimets/testsuite_sqlpp.xml
asterixdb/asterix-lang-common/src/main/java/org/apache/asterix/lang/common/util/DatasetDeclParametersUtil.java
asterixdb/asterix-lang-sqlpp/src/main/javacc/SQLPP.jj