You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@asterixdb.apache.org by dl...@apache.org on 2022/02/18 21:00:24 UTC
[asterixdb-clients] branch master updated: [NO ISSUE] Fix generation of boolean literals
This is an automated email from the ASF dual-hosted git repository.
dlych pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/asterixdb-clients.git
The following commit(s) were added to refs/heads/master by this push:
new b01517f [NO ISSUE] Fix generation of boolean literals
b01517f is described below
commit b01517f82ec8c99b6b7ec84418cde85cae2bee6d
Author: Dmitry Lychagin <dm...@couchbase.com>
AuthorDate: Fri Feb 18 12:05:15 2022 -0800
[NO ISSUE] Fix generation of boolean literals
Change-Id: If96bbfbeb1f0be3bdf70d04dc0bed4da85299d9f
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb-clients/+/15383
Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
Reviewed-by: Dmitry Lychagin <dm...@couchbase.com>
Reviewed-by: Ian Maxon <im...@uci.edu>
---
.../src/main/taco/plugins/asterixdb_jdbc/dialect.tdd | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/asterixdb-jdbc/asterix-jdbc-taco/src/main/taco/plugins/asterixdb_jdbc/dialect.tdd b/asterixdb-jdbc/asterix-jdbc-taco/src/main/taco/plugins/asterixdb_jdbc/dialect.tdd
index 076abd2..bef055e 100644
--- a/asterixdb-jdbc/asterix-jdbc-taco/src/main/taco/plugins/asterixdb_jdbc/dialect.tdd
+++ b/asterixdb-jdbc/asterix-jdbc-taco/src/main/taco/plugins/asterixdb_jdbc/dialect.tdd
@@ -1475,7 +1475,6 @@
<part name='second' value='SECOND' />
</date-part-group>
</date-parts>
- <format-bool-as-value value='TrueFirst' />
<format-column-definition>
<local-type name='int'>
<remote-type name='I1' value='TINYINT' />
@@ -1508,7 +1507,7 @@
<format-drop-table>
<formula>DROP DATASET %1</formula>
</format-drop-table>
- <format-false value='FALSE' />
+ <format-false literal='FALSE' predicate='FALSE' />
<format-if-then-else value='Case' />
<format-index value='ColumnNameOnly' />
<format-insert value='Individual' />
@@ -1526,7 +1525,7 @@
<format-simple-case value='Case' />
<!--format-stored-proc-call--> <!-- Not supported -->
<format-string-literal value='Extended' />
- <format-true value='TRUE' />
+ <format-true literal='TRUE' predicate='TRUE' />
<icu-date-token-map>
<!-- used by DATEPARSE -->
<!-- http://userguide.icu-project.org/formatparse/datetime -->