Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1108 commits
Select commit Hold shift + click to select a range
8c9e842
Resolved: Fixed Regression_ArrayIndexOutOfBoundsException: Index 0 ou…
Mar 15, 2022
df3803f
Merge branch 'master' of https://github.com/datametica/calcite into R…
Mar 15, 2022
12fca0c
Merge pull request #249 from datametica/RAV-8882-Regression_ArrayInde…
deepakkadam-dm Mar 16, 2022
a1c872f
Resolved: Fixed Cross Join with SubQuery and Left/Right Join Fix.
Mar 24, 2022
63a639b
Merge branch 'master' of https://github.com/datametica/calcite into R…
Mar 24, 2022
b580a04
Resolved: Fixed Cross Join with SubQuery and Left/Right Join Fix.
Mar 28, 2022
eb3f88c
Merge pull request #250 from datametica/RAV-8545-CrossJoinWithSubQuer…
deepakkadam-dm Mar 28, 2022
427f088
Resolved: Fixed CROSS JOIN To INNER JOIN: java.lang.AssertionError: f…
Mar 30, 2022
c570d24
Merge branch 'master' of https://github.com/datametica/calcite into r…
Mar 30, 2022
0dcaa9a
Resolved: Added Minor Fixes.
Mar 31, 2022
d777057
Merge pull request #251 from datametica/raven/RAV-8972_CrossJoinToInn…
deepakkadam-dm Mar 31, 2022
0a39915
Resolved: Fixed Remaining Client Files issue.
Apr 1, 2022
d1bb895
Merge branch 'master' of https://github.com/datametica/calcite into r…
Apr 1, 2022
9362f1a
Merge pull request #252 from datametica/raven/RAV-8972_CrossJoinToInn…
deepakkadam-dm Apr 4, 2022
8b7db9d
RAV-8108_Added check for left and right join in isCrossJoin
sauajmera May 16, 2022
ddbeed2
SqlDataTypeSpecTest
soma-mondal May 17, 2022
5c9f971
RAV-9189:IBC_Add Support for Qualify in big query
Shubham-Isalkar May 25, 2022
070242e
RAV-8108_Added check for left and right join in isCrossJoin
sauajmera May 26, 2022
a026de8
Merge pull request #255 from datametica/RAV-8108_Unsupported_subquery…
deepakkadam-dm May 26, 2022
c2898bc
Merge pull request #256 from datametica/raven-SqlDataTypeSpecTest
soma-mondal May 26, 2022
60b4697
RNBS-133::Added support for NZ-BQ DATE_TRUNC/TIME_TRUNC
InderjeetVishnoi May 27, 2022
a214a1f
Flag to check if Insert clause in Merge queries require columns
Katakam-Phani-Mahidhar May 27, 2022
84c6599
teradata and Netezza UnsupportedOperationException for requiresColumn…
Katakam-Phani-Mahidhar May 30, 2022
ba71e86
RNBS-133::Added testcases for NZ-BQ DATE_TRUNC/TIME_TRUNC
InderjeetVishnoi May 31, 2022
e607f7d
SqlDataTypeSpecTest - Negative Scale Regex
soma-mondal May 31, 2022
8dd33cc
Merge pull request #260 from datametica/rav-negaive-scale-regex
soma-mondal May 31, 2022
8c598d7
SqlDataTypeSpecTest - Negative Scale Regex - checkstyleTest
soma-mondal May 31, 2022
1d5fe3e
Merge pull request #261 from datametica/rav-negative-scale-regex
soma-mondal Jun 1, 2022
4577db1
Resolved: Fixed TIMESTAMP With Time Zone to TIMESTAMP_WITH_LOCAL_TIME…
Jun 2, 2022
5c1adb7
RNBS-133-Added-support-for-DATETIME_TRUNC
InderjeetVishnoi Jun 3, 2022
f8ffc6b
Merge pull request #259 from datametica/RNBS-133
soma-mondal Jun 7, 2022
c701f9e
Merge branch 'master' of https://github.com/datametica/calcite into R…
Shubham-Isalkar Jun 8, 2022
2821521
Merge branch 'master' of https://github.com/datametica/calcite into R…
Jun 8, 2022
2169e1a
Merge pull request #262 from datametica/RAVTDBQ-20_TIMESTAMP_With_Tim…
deepakkadam-dm Jun 9, 2022
628c3b4
Merge pull request #258 from datametica/spark_merge_insert
abbas-gadhia Jun 9, 2022
637ad6d
Merge branch 'master' of https://github.com/datametica/calcite into R…
Shubham-Isalkar Jun 9, 2022
19aa62d
Revert "RNBS-133-Added-support-for-DATETIME_TRUNC"
InderjeetVishnoi Jun 9, 2022
015f72b
Revert "RNBS-133::Added testcases for NZ-BQ DATE_TRUNC/TIME_TRUNC"
InderjeetVishnoi Jun 9, 2022
debb070
Revert "RNBS-133::Added support for NZ-BQ DATE_TRUNC/TIME_TRUNC"
InderjeetVishnoi Jun 9, 2022
25b6a32
Merge pull request #264 from datametica/calcite/RNBS-133/revert-DATE_…
soma-mondal Jun 9, 2022
82757a9
Merge branch 'master' of https://github.com/datametica/calcite into R…
Shubham-Isalkar Jun 10, 2022
dfef490
RNBS-133-Adds-support-for-DATETIME_TRUNC_and_TIME_TRUNC
InderjeetVishnoi Jun 10, 2022
c757b74
Merge pull request #265 from datametica/calcite/RNBS-133/adds_DATE_TR…
soma-mondal Jun 13, 2022
e7af9f1
Merge branch 'master' of https://github.com/datametica/calcite into R…
Shubham-Isalkar Jun 13, 2022
d05c819
RAV-9189:IBC_Add Support for Qualify in big query : Generic Approach …
Shubham-Isalkar Jun 13, 2022
ce7bd94
Resolved: IndexOutOfBoundsException Fix For FilterExtractInnerJoinRule.
Jun 16, 2022
95dde78
Merge branch 'master' of https://github.com/datametica/calcite into R…
Jun 16, 2022
bdada7b
Merge pull request #267 from datametica/RAVTDBQ-43_IndexOutOfBoundsEx…
deepakkadam-dm Jun 16, 2022
de1a3b8
Ads support related to DATE_TIME Parse
Jun 16, 2022
62c97b7
Switch case Order changed
Jun 16, 2022
595ca56
PARSE_TIME Parameter is changed
Jun 17, 2022
e1ca3ef
PARSE_TIME Parameter is changed
Jun 17, 2022
d38febe
Merge remote-tracking branch 'origin/RNBS-236_PARSE_DATE_TIME' into R…
Jun 17, 2022
eebbd8d
PARSE_TIME Parameter is changed
Jun 17, 2022
cefa11c
Removed Unnecessary changes
Jun 17, 2022
f258ee4
Updated parsing of date time with for Cast function
Jun 20, 2022
dbf4d70
Added test case
Jun 20, 2022
e172047
Updated test case
Jun 20, 2022
61e2044
Unnecessary changes removed and added on mig side MR
Jun 21, 2022
06a663a
Reverted PARSE_TIME Change as it was already present on BigQueryStdSq…
Jun 22, 2022
1d738ed
Shifted Unparse code from mig to calcite
Jun 22, 2022
eb017a4
Removed Default Case
Jun 23, 2022
d725375
Removed Unnecessary Switch Case
Jun 27, 2022
4972038
Added Test Case
Jun 27, 2022
048549d
Removed TIMESTAMP AND DATETIME from test case as it was already there
Jun 27, 2022
efdba7f
Removed Duplicate Projection
Jun 27, 2022
7c3b9da
Removed Duplicate Projection
Jun 27, 2022
b4e353f
Removed Duplicate Projection
Jun 28, 2022
4783384
Removed Unnecessary Extra lines of code
Jul 1, 2022
c042a58
Added Required lines of code
Jul 4, 2022
a06369b
Merge pull request #269 from datametica/RNBS-236_PARSE_DATE_TIME
anand-dm Jul 4, 2022
7558053
Support for TRIM, POSITION, CONCAT pipe operator in spark.
Katakam-Phani-Mahidhar Jul 18, 2022
fc913d6
Support for RAISE_ERROR
Katakam-Phani-Mahidhar Jul 19, 2022
f7ac0bd
ERROR function test case
Katakam-Phani-Mahidhar Jul 19, 2022
b2f2bd1
Merge pull request #270 from datametica/spark_operator_supp
soma-mondal Jul 20, 2022
e71548b
TRUE and FALSE Added.
vinayujeedm Jul 21, 2022
2df5886
Reformat.
vinayujeedm Jul 21, 2022
0c37232
jenkins autoStyle build error fix
Katakam-Phani-Mahidhar Jul 21, 2022
f34397b
build issue fixes
Katakam-Phani-Mahidhar Jul 21, 2022
990311d
remove null direction emulation in spark
Katakam-Phani-Mahidhar Jul 21, 2022
e865b1b
Merge pull request #271 from datametica/spark_operator_supp
soma-mondal Jul 21, 2022
62c3952
Merge branch 'master' of https://github.com/datametica/calcite into s…
Katakam-Phani-Mahidhar Jul 24, 2022
22c5143
binary operator for date_add and date_sub
Katakam-Phani-Mahidhar Jul 25, 2022
4bf9a71
make getIntervalLiteral public
Katakam-Phani-Mahidhar Jul 25, 2022
878f44b
Merge branch 'master' of https://github.com/datametica/calcite into R…
Shubham-Isalkar Jul 25, 2022
720df6a
remove comments in test case
Katakam-Phani-Mahidhar Jul 26, 2022
502c384
remove comments in test case
Katakam-Phani-Mahidhar Jul 26, 2022
d75b512
Merge branch 'master' of https://github.com/datametica/calcite into T…
vinayujeedm Jul 27, 2022
57b07b2
Merge branch 'master' into TRUE_FALSE_OPERATOR
Jul 27, 2022
ab35cc2
removing date add and date sub changes
Katakam-Phani-Mahidhar Jul 27, 2022
4d67c66
Merge pull request #272 from datametica/spark_null_direction
soma-mondal Jul 27, 2022
eb4ca7f
Merge branch 'master' of https://github.com/datametica/calcite into R…
Shubham-Isalkar Jul 27, 2022
16b20ef
Merge branch 'master' of https://github.com/datametica/calcite into T…
vinayujeedm Jul 28, 2022
5cb3f09
Merge pull request #273 from datametica/TRUE_FALSE_OPERATOR
soma-mondal Aug 1, 2022
cfcc6e0
RNBS-140: Format violation fixed by running " ./gradlew autostyleApply"
vinayujeedm Aug 1, 2022
8300766
Merge branch 'master' of https://github.com/datametica/calcite into T…
vinayujeedm Aug 1, 2022
386abfa
Merge branch 'master' of https://github.com/datametica/calcite into R…
Shubham-Isalkar Aug 1, 2022
adbd8e4
Merge pull request #275 from datametica/TRUE_FALSE_OPERATOR
soma-mondal Aug 1, 2022
e59f884
Merge branch 'master' of https://github.com/datametica/calcite into R…
Shubham-Isalkar Aug 1, 2022
b7edc37
RAVTDBQ_60 | TableName and ColumnName Same | making it qualified
akash-pawar1 Aug 2, 2022
23af5eb
RAVTDBQ_60 | TableName and ColumnName Same | added method document
akash-pawar1 Aug 3, 2022
15174b8
RAVTDBQ_60 | TableName and ColumnName Same | added method document
akash-pawar1 Aug 3, 2022
151d567
Fixed formatting issue
pranav-joshi-dm Aug 3, 2022
df2657d
RAVTDBQ_60 | TableName and ColumnName Same | added method document
akash-pawar1 Aug 3, 2022
32d67ee
RAVTDBQ_60 | TableName and ColumnName Same | added method document
akash-pawar1 Aug 3, 2022
93f1c10
RAVTDBQ_60 | TableName and ColumnName Same | added method document
akash-pawar1 Aug 3, 2022
d17a530
RAVTDBQ_60 | TableName and ColumnName Same | added method document
akash-pawar1 Aug 3, 2022
8616edf
RAVTDBQ_60 | TableName and ColumnName Same | added method document
akash-pawar1 Aug 4, 2022
fff2e3f
Merge pull request #276 from datametica/ravtdbq60_tableNameColumnName…
deepakkadam-dm Aug 4, 2022
ca82b62
Merge branch 'master' into TRUE_FALSE_OPERATOR
Aug 5, 2022
833c429
Merge branch 'master' of https://github.com/datametica/calcite into R…
Shubham-Isalkar Aug 5, 2022
d66242f
Adds support for AssertionError coming due to IS_NOT_TRUE rexnode tra…
Aug 5, 2022
ea15846
Support for Teradata -> Spark Datetime extract functions
Katakam-Phani-Mahidhar Aug 9, 2022
530fde0
changed name of the variable
Aug 12, 2022
d2ff563
Resolved Assertion Error for CASE & UPPER Clause
Aug 15, 2022
b32fcb1
Resolved Assertion Error for INITCAP function
Aug 16, 2022
cda48dc
Resolved Assertion Error for INITCAP function
Aug 16, 2022
4e9c477
support for date add adn date sub with binary operators in spark
Katakam-Phani-Mahidhar Jul 27, 2022
181b7ed
date add and date sub name change
Katakam-Phani-Mahidhar Aug 17, 2022
264333b
date add and date sub name change
Katakam-Phani-Mahidhar Aug 17, 2022
6e9954b
date add and date sub name change
Katakam-Phani-Mahidhar Aug 17, 2022
a7d0d82
checkstyleMain issues fix
Katakam-Phani-Mahidhar Aug 17, 2022
2078a8a
RAV-9189:IBC_Add Support for Qualify in big query : Generic Approach …
Shubham-Isalkar Aug 22, 2022
7104804
RAV-9189:IBC_Add Support for Qualify in big query : Generic Approach …
Shubham-Isalkar Aug 23, 2022
fbaee98
RNBS-264-adds-subquery-support-for-In-Clause-having-functioncall-in-g…
InderjeetVishnoi Aug 24, 2022
225cf03
RAV-9189:IBC_Add Support for Qualify in big query : Generic Approach …
Shubham-Isalkar Aug 24, 2022
6cdbf47
spark to_date support
Katakam-Phani-Mahidhar Aug 24, 2022
c4a7156
Merge pull request #257 from datametica/RAV-9189_IBC_Add_Support_for_…
deepakkadam-dm Aug 24, 2022
3583b71
RNBS-129: Resolved comments
Aug 25, 2022
1bbd283
Merge branch 'master' of https://github.com/datametica/calcite into i…
InderjeetVishnoi Aug 25, 2022
5b73742
RNBS-264-mimics-actual-canonical-construct-for-scenario-in-testcase
InderjeetVishnoi Aug 25, 2022
f228416
RNBS-264-autostyle-fix-for-testcase
InderjeetVishnoi Aug 25, 2022
da58a4b
RNBS-264-autostyle-fix-for-testcase
InderjeetVishnoi Aug 25, 2022
1bda231
RNBS-264-made-changes-to-strip-only-aggregate-from-projection
InderjeetVishnoi Aug 25, 2022
60b0a5c
Added a new SqlNode i.e. SqlFieldAccess
shirin-hasan Aug 25, 2022
d55a509
RNBS-264-fixes-test-case
InderjeetVishnoi Aug 26, 2022
ca6f9cb
Merge branch 'master' of https://github.com/datametica/calcite into R…
shirin-hasan Aug 26, 2022
c29c5ee
RNBS-129: Resolved comments
Aug 26, 2022
57e860a
Merge pull request #277 from datametica/RNBS-284-tenet-java.lang.asse…
soma-mondal Aug 26, 2022
5a4e768
RNBS-261: Adds support for unix_seconds(datetime) and unix_seconds(in…
nosheenSheikh02 Aug 26, 2022
f4b3185
RNBS-264-adds-test-case-for-use-case-to-strip-aggregate-from-subquery
InderjeetVishnoi Aug 29, 2022
aa4383e
Merge branch 'master' of https://github.com/datametica/calcite into i…
InderjeetVishnoi Aug 29, 2022
920c93e
Adds Extract Epoch scenarios
nosheenSheikh02 Aug 29, 2022
fa0724a
Merge pull request #281 from datametica/inderjeetvishnoi/RNBS-264/add…
anand-dm Aug 29, 2022
d1f770e
RNBS-261: Adds Extract Epoch With MinusOperand and resolves review co…
nosheenSheikh02 Aug 30, 2022
7f77cb0
Merge branch 'master' of https://github.com/datametica/calcite into n…
nosheenSheikh02 Aug 30, 2022
6a54591
RNS-261: Resolves review comments
nosheenSheikh02 Aug 30, 2022
27c5e25
Merge branch 'master' of https://github.com/datametica/calcite into s…
Katakam-Phani-Mahidhar Aug 30, 2022
bdcb654
RNS-261: Resolves review comments
nosheenSheikh02 Aug 30, 2022
329ecb1
RNS-261: Resolves review comments
nosheenSheikh02 Aug 30, 2022
191331c
changing unparseIntervalOperandsBasedFunctions for date add and date sub
Katakam-Phani-Mahidhar Aug 30, 2022
672750b
changing unparseIntervalOperandsBasedFunctions for date add and date sub
Katakam-Phani-Mahidhar Aug 30, 2022
82a33a8
making modifySqlNode private
Katakam-Phani-Mahidhar Aug 30, 2022
fc4c4c1
moving constants to DateTimestampFormatUtil
Katakam-Phani-Mahidhar Aug 30, 2022
5e6ec29
Merge branch 'master' of https://github.com/datametica/calcite into s…
Katakam-Phani-Mahidhar Aug 30, 2022
49d92e5
RAV-9189:IBC_Add Support for Qualify in big query : Code Changes for …
Shubham-Isalkar Sep 1, 2022
1df4a95
Merge pull request #287 from datametica/RAV_9189_Add_Qualify_Support_…
deepakkadam-dm Sep 2, 2022
e237928
Merge branch 'master' of https://github.com/datametica/calcite into s…
Katakam-Phani-Mahidhar Sep 5, 2022
9035f35
Merge pull request #278 from datametica/spark_td_datetime_extract_fns
anand-dm Sep 5, 2022
f0a34a2
adding case statement in unparseIntervalOperandsBasedFunctions
Katakam-Phani-Mahidhar Sep 5, 2022
f178c52
Merge branch 'master' of https://github.com/datametica/calcite into s…
Katakam-Phani-Mahidhar Sep 5, 2022
6041751
autostyle issues fix
Katakam-Phani-Mahidhar Sep 5, 2022
e041f31
Merge pull request #274 from datametica/spark_date_op
soma-mondal Sep 6, 2022
110a675
Merge branch 'master' of https://github.com/datametica/calcite into R…
shirin-hasan Sep 6, 2022
04993eb
Merge branch 'master' of https://github.com/datametica/calcite into m…
Katakam-Phani-Mahidhar Sep 6, 2022
2554f41
merge conflicts resolution
Katakam-Phani-Mahidhar Sep 6, 2022
987db21
Added a new SqlNode i.e. SqlFieldAccess
shirin-hasan Sep 7, 2022
a278ebc
Spark Time to Timestamp cast (#283)
Katakam-Phani-Mahidhar Sep 7, 2022
f662b73
BITWISE operators, PI function
Katakam-Phani-Mahidhar Sep 9, 2022
59c662d
Merge branch 'master' of https://github.com/datametica/calcite into m…
Katakam-Phani-Mahidhar Sep 9, 2022
b09e07c
Merge pull request #282 from datametica/mahidhar/spark_to_date_fn
soma-mondal Sep 9, 2022
39cf4c6
RNS-261: Casts every node of unix_seconds to timestamp
nosheenSheikh02 Sep 12, 2022
3e13565
RAVTDBQ-117 Added support for HASHROW with multiple arguments
Mahesh-Raut Sep 12, 2022
624d561
Merge branch 'master' of https://github.com/datametica/calcite into R…
Mahesh-Raut Sep 12, 2022
8dad5b2
Merge branch 'master' of https://github.com/datametica/calcite into R…
shirin-hasan Sep 12, 2022
efbe80f
Changes to unparse of SqlFieldAccess
shirin-hasan Sep 12, 2022
649acc2
RAVTDBQ-117 Code Refactoring
Mahesh-Raut Sep 13, 2022
27383a2
Added ReltoSqlConverterArraysTest class
shirin-hasan Sep 13, 2022
3c04bd4
RNS-261: Adds test cases and fixes existing
nosheenSheikh02 Sep 13, 2022
2c78cb3
RAVTDBQ-117 Added test case for Hashrow with multiple arguments
Mahesh-Raut Sep 13, 2022
e509226
RAVTDBQ-117 Minor change
Mahesh-Raut Sep 13, 2022
2696ab8
Merge remote-tracking branch 'origin/master' into nosheensheikh/calci…
nosheenSheikh02 Sep 13, 2022
ec450c8
Merge pull request #286 from datametica/nosheensheikh/calcite_unix_se…
soma-mondal Sep 13, 2022
dca2222
Changes to SqlFieldAccess
shirin-hasan Sep 13, 2022
899fb29
Merge branch 'master' of https://github.com/datametica/calcite into R…
shirin-hasan Sep 13, 2022
ed71c44
Merge branch 'master' of https://github.com/datametica/calcite into R…
Mahesh-Raut Sep 14, 2022
fe979d4
RAVTDBQ-117 Code Refactoring
Mahesh-Raut Sep 14, 2022
1ea2f99
Changes as per review
shirin-hasan Sep 14, 2022
077e3e0
support for TO_CHAR with DATE as operand
Katakam-Phani-Mahidhar Sep 14, 2022
6157dcd
Merge branch 'master' of https://github.com/datametica/calcite into m…
Rajeshwari4 Sep 15, 2022
6bf52c4
Support for Bitwise Operations, PI() Function, Timeofday() and MOD fu…
Rajeshwari4 Sep 15, 2022
cc78647
Merge pull request #288 from datametica/RAVTDBQ_117_Support_for_Hashr…
deepakkadam-dm Sep 15, 2022
8f1edb1
date format operators support
Katakam-Phani-Mahidhar Sep 15, 2022
eac8bf6
RAVTDBQ-117 Code Refactoring
Mahesh-Raut Sep 15, 2022
9e18226
Merge branch 'master' of https://github.com/datametica/calcite into R…
Mahesh-Raut Sep 15, 2022
7e6d7e2
Merge pull request #289 from datametica/RAVTDBQ_117_Support_for_Hashr…
deepakkadam-dm Sep 15, 2022
77d8aa3
Merge branch 'master' of https://github.com/datametica/calcite into R…
shirin-hasan Sep 16, 2022
2e816a7
Merge pull request #285 from datametica/RAVHIBQ-83_feature_branch_for…
deepakkadam-dm Sep 16, 2022
268decc
Features - Bitwise operations, pi() function, timeofday(), session us…
Rajeshwari4 Sep 16, 2022
498c5b5
support for TITLE in column definition.
Katakam-Phani-Mahidhar Sep 20, 2022
a885c76
Merge pull request #291 from datametica/mahidhar/RTP-138_titleDefinit…
Technay Sep 21, 2022
dc16b0a
Resolved Conflicts - RelToSqlConverterTest
Rajeshwari4 Sep 27, 2022
2728a86
Merge pull request #290 from datametica/mahidhar/spark_bitwise
soma-mondal Sep 27, 2022
b6b7fe0
Merge branch 'master' of https://github.com/datametica/calcite into m…
Katakam-Phani-Mahidhar Oct 5, 2022
5b30df1
udf changes
Katakam-Phani-Mahidhar Oct 5, 2022
9e216b5
User Defined Functions
Rajeshwari4 Oct 6, 2022
43ad486
Removed to_char
Rajeshwari4 Oct 6, 2022
681320a
Removed Violations
Rajeshwari4 Oct 6, 2022
b9cb337
Resolved: Added support for TRUNC(TIMESTAMP).
Oct 11, 2022
c1156f0
Resolved: Added Test case.
Oct 11, 2022
8a7512c
Resolved: Added Support for TRUNC with two arguments.
Oct 11, 2022
a4179d0
Merge pull request #293 from datametica/saransh.manglani/RTP-181_Supp…
deepakkadam-dm Oct 11, 2022
4b5abb3
RNS-800: Adds unparsing for Casting of 'string float value' (eg: '45.…
nosheenSheikh02 Oct 12, 2022
20ac58c
RNS-800: Refactors code and adds test case in RelToSqlConverterTest
nosheenSheikh02 Oct 12, 2022
8eb60f9
Merge branch 'master' of https://github.com/datametica/calcite into n…
nosheenSheikh02 Oct 13, 2022
f2e03b6
RNS-800: Reverts one change
nosheenSheikh02 Oct 13, 2022
e23b295
Resolved Comments For UDFs
Rajeshwari4 Oct 13, 2022
a8fedea
Resolved: Added Fix for TRUNC with TIMESTAMP wrapped in function.
Oct 13, 2022
7a6a0ec
Merge branch 'master' of https://github.com/datametica/calcite into s…
Oct 13, 2022
76ca19c
Resolved: Minor Fixes.
Oct 14, 2022
7f93d88
Merge pull request #295 from datametica/saransh.manglani/RTP-181_Supp…
deepakkadam-dm Oct 14, 2022
507112d
resolve comments
Katakam-Phani-Mahidhar Oct 14, 2022
60c611c
Merge pull request #294 from datametica/nosheen_sheikh/calcite-RNBS-8…
soma-mondal Oct 17, 2022
6922581
Merge branch 'master' of https://github.com/datametica/calcite into m…
Katakam-Phani-Mahidhar Oct 18, 2022
b527758
TRUNC to TRUNCATE
Katakam-Phani-Mahidhar Oct 18, 2022
6a62759
getKind to string
Katakam-Phani-Mahidhar Oct 18, 2022
d0a483a
Ordinal Fix
Rajeshwari4 Oct 19, 2022
5e7920d
Resolved review comments
Rajeshwari4 Oct 20, 2022
ae30343
Merge pull request #292 from datametica/mahidhar/to_char_for_date
deepakkadam-dm Oct 20, 2022
e371ea3
spark round with single operator fix
Katakam-Phani-Mahidhar Oct 27, 2022
dd8fc1a
spark round with single operator fix
Katakam-Phani-Mahidhar Oct 27, 2022
5173c4d
Addressed Review Comments
Rajeshwari4 Oct 28, 2022
a0167ba
Resolved review comments
Rajeshwari4 Oct 28, 2022
a54d321
Added multiple scenarios for round function.
Rajeshwari4 Oct 28, 2022
fbc23b8
Merge pull request #298 from datametica/spark_round_fix
deepakkadam-dm Oct 28, 2022
accbeeb
Merge branch 'master' of https://github.com/datametica/calcite into r…
Rajeshwari4 Oct 31, 2022
42ce659
RNBS-262: handles illegal escape sequence issue
naveenantonie Nov 1, 2022
d1e758b
RNBS-262: handles newline char and refactors code
naveenantonie Nov 2, 2022
36bbf68
Included TCs for SortBy scenario.
Rajeshwari4 Nov 2, 2022
db6c8fd
SortBy Ordinal TC included.
Rajeshwari4 Nov 2, 2022
28b2fad
Merge pull request #297 from datametica/rajeshwari/ordinal_fix
deepakkadam-dm Nov 3, 2022
898b28e
Merge branch 'master' of https://github.com/datametica/calcite into n…
naveenantonie Nov 7, 2022
8e8d0b6
RNBS-262: adds testcases
naveenantonie Nov 8, 2022
774f74d
RNBS-262: resolves PR comments
naveenantonie Nov 9, 2022
72c1f9b
Pull changes manually from https://github.com/apache/calcite/pull/289…
vijayjogi-dm Nov 14, 2022
0c22241
RNBS-262: moves changes from generic classes to BQSqlDialect class
naveenantonie Nov 15, 2022
c281253
Merge pull request #303 from datametica/vijayjogi/RAVCOM-40_WF_Vulner…
anand-dm Nov 15, 2022
bf2d8de
RNBS-262: removes unnecessary additions
naveenantonie Nov 15, 2022
ac52b79
Merge pull request #300 from datametica/naveenantony/RNBS-262/Unclose…
soma-mondal Nov 15, 2022
f4936cf
RTP-203_TO_CHAR with TRUNC results in datatype mismatch
Nov 28, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
32 changes: 32 additions & 0 deletions .asf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

github:
description: "Apache Calcite"
homepage: https://calcite.apache.org/
features:
wiki: false
issues: false
projects: false
enabled_merge_buttons:
squash: false
merge: false
rebase: true
notifications:
commits: commits@calcite.apache.org
issues: issues@calcite.apache.org
pullrequests: commits@calcite.apache.org
jira_options: link label worklog
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ ij_java_use_single_class_imports = true
max_line_length = 100
ij_any_wrap_long_lines = true

[*.astub]
indent_size = 2

[*.java]
# Doc: https://youtrack.jetbrains.com/issue/IDEA-170643#focus=streamItem-27-3708697.0-0
# $ means "static"
Expand All @@ -44,3 +47,4 @@ ij_java_space_before_colon = true
ij_java_ternary_operation_signs_on_next_line = true
ij_java_use_single_class_imports = true
ij_java_wrap_long_lines = true
ij_java_align_multiline_parameters = false
9 changes: 8 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
*.html text diff=html
*.kt text diff=kotlin
*.kts text diff=kotlin
*.md text diff=markdown
*.py text diff=python executable
*.pl text diff=perl executable
*.pm text diff=perl
*.css text
*.css text diff=css
*.js text
*.sql text
*.q text
Expand All @@ -26,3 +27,9 @@ data/files/*.dat text eol=lf
*.cmd text eol=crlf
*.csproj text merge=union eol=crlf
*.sln text merge=union eol=crlf

# Take the union of the lines during merge
# It avoids false merge conflicts when different lines are added close to each other
# However, it might result in duplicate lines if two commits edit the same line differently.
# If different commits add exactly the same line, then merge produces only one line.
/core/src/main/resources/org/apache/calcite/runtime/CalciteResource.properties text merge=union
178 changes: 162 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ on:
branches:
- '*'

# Throw OutOfMemoryError in case less than 35% is free after full GC
# This avoids never-ending GC trashing if memory gets too low in case of a memory leak
env:
_JAVA_OPTIONS: '-XX:GCTimeLimit=90 -XX:GCHeapFreeLimit=35'

jobs:
windows:
if: github.event.action != 'labeled'
Expand All @@ -47,10 +52,21 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 8
- name: 'Test'
- uses: burrunan/gradle-cache-action@v1
name: Test
with:
job-id: jdk${{ matrix.jdk }}
arguments: --scan --no-parallel --no-daemon build javadoc
- name: 'sqlline and sqllsh'
shell: cmd
run: |
./gradlew --no-parallel --no-daemon build javadoc
call sqlline.bat -e '!quit'
echo.
echo Sqlline example/csv
call example/csv/sqlline.bat --verbose -u jdbc:calcite:model=example/csv/src/test/resources/model.json -n admin -p admin -f example/csv/src/test/resources/smoke_test.sql
echo.
echo sqlsh
call sqlsh.bat -o headers "select count(*) commits, author from (select substring(author, 1, position(' <' in author)-1) author from git_commits) group by author order by count(*) desc, author limit 20"

linux-avatica:
if: github.event.action != 'labeled'
Expand All @@ -61,33 +77,120 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 11
- name: 'Install Avatica to Maven Local repository'
- name: 'Clone Avatica to Maven Local repository'
run: |
git clone --branch master --depth 100 https://github.com/apache/calcite-avatica.git ../calcite-avatica
cd ../calcite-avatica
./gradlew publishToMavenLocal -Pcalcite.avatica.version=1.0.0-dev-master -PskipJavadoc
- uses: burrunan/gradle-cache-action@v1
name: Build Avatica
with:
job-id: avatica-jdk${{ matrix.jdk }}
build-root-directory: ../calcite-avatica
arguments: publishToMavenLocal
properties: |
calcite.avatica.version=1.0.0-dev-master
skipJavadoc=
- uses: actions/checkout@v2
with:
fetch-depth: 50
- name: 'Test'
run: |
./gradlew --no-parallel --no-daemon build javadoc -Pcalcite.avatica.version=1.0.0-dev-master-SNAPSHOT -PenableMavenLocal
- uses: burrunan/gradle-cache-action@v1
name: Test
with:
job-id: jdk${{ matrix.jdk }}
execution-only-caches: true
arguments: --scan --no-parallel --no-daemon build javadoc
properties: |
calcite.avatica.version=1.0.0-dev-master-SNAPSHOT
enableMavenLocal=

linux-openj9:
if: github.event.action != 'labeled'
name: 'Linux (OpenJ9 8)'
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 50
- uses: AdoptOpenJDK/install-jdk@v1
with:
impl: openj9
version: '8'
architecture: x64
- uses: burrunan/gradle-cache-action@v1
name: Test
with:
job-id: jdk8-openj9
arguments: --scan --no-parallel --no-daemon build javadoc
- name: 'sqlline and sqllsh'
run: |
./sqlline -e '!quit'
echo
echo Sqlline example/csv
./example/csv/sqlline --verbose -u jdbc:calcite:model=example/csv/src/test/resources/model.json -n admin -p admin -f example/csv/src/test/resources/smoke_test.sql
echo
echo sqlsh
./sqlsh -o headers "select count(*) commits, author from (select substring(author, 1, position(' <' in author)-1) author from git_commits) group by author order by count(*) desc, author limit 20"

mac:
if: github.event.action != 'labeled'
name: 'macOS (JDK 13)'
name: 'macOS (JDK 15)'
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 50
- name: 'Set up JDK 13'
- name: 'Set up JDK 15'
uses: actions/setup-java@v1
with:
java-version: 13
- name: 'Test'
java-version: 15
- uses: burrunan/gradle-cache-action@v1
name: Test
with:
job-id: jdk15
arguments: --scan --no-parallel --no-daemon build javadoc
- name: 'sqlline and sqllsh'
run: |
./gradlew --no-parallel --no-daemon build javadoc
./sqlline -e '!quit'
echo
echo Sqlline example/csv
./example/csv/sqlline --verbose -u jdbc:calcite:model=example/csv/src/test/resources/model.json -n admin -p admin -f example/csv/src/test/resources/smoke_test.sql
echo
echo sqlsh
./sqlsh -o headers "select count(*) commits, author from (select substring(author, 1, position(' <' in author)-1) author from git_commits) group by author order by count(*) desc, author limit 20"

errorprone:
if: github.event.action != 'labeled'
name: 'Error Prone (JDK 11)'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 50
- name: 'Set up JDK 11'
uses: actions/setup-java@v1
with:
java-version: 11
- uses: burrunan/gradle-cache-action@v1
name: Test
with:
job-id: errprone
arguments: --scan --no-parallel --no-daemon -PenableErrorprone classes

linux-checkerframework:
name: 'CheckerFramework (JDK 11)'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 50
- name: 'Set up JDK 11'
uses: actions/setup-java@v1
with:
java-version: 11
- name: 'Run CheckerFramework'
uses: burrunan/gradle-cache-action@v1
with:
job-id: checkerframework-jdk11
arguments: --scan --no-parallel --no-daemon -PenableCheckerframework :linq4j:classes :core:classes

linux-slow:
# Run slow tests when the commit is on master or it is requested explicitly by adding an
Expand All @@ -103,6 +206,49 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 8
- name: 'Test'
run: |
./gradlew --no-parallel --no-daemon testSlow
- uses: burrunan/gradle-cache-action@v1
name: Test
with:
job-id: jdk8
arguments: --scan --no-parallel --no-daemon testSlow

linux-druid:
if: github.event.action != 'labeled'
name: 'Linux (JDK 8) Druid Tests'
runs-on: ubuntu-latest
steps:
- name: 'Set up JDK 8'
uses: actions/setup-java@v1
with:
java-version: 8
- name: 'Checkout Druid dataset'
uses: actions/checkout@master
with:
repository: zabetak/calcite-druid-dataset
fetch-depth: 1
path: druid-dataset
- name: 'Start Druid containers'
working-directory: ./druid-dataset
run: |
chmod -R 777 storage
docker-compose up -d
- name: 'Wait Druid nodes to startup'
run: |
until docker logs coordinator | grep "Successfully started lifecycle \[module\]"; do sleep 1s; done
until docker logs router | grep "Successfully started lifecycle \[module\]"; do sleep 1s; done
until docker logs historical | grep "Successfully started lifecycle \[module\]"; do sleep 1s; done
until docker logs middlemanager | grep "Successfully started lifecycle \[module\]"; do sleep 1s; done
until docker logs broker | grep "Successfully started lifecycle \[module\]"; do sleep 1s; done
- name: 'Index Foodmart/Wikipedia datasets'
working-directory: ./druid-dataset
run: ./index.sh 30s
- uses: actions/checkout@v2
with:
fetch-depth: 1
path: calcite
- uses: burrunan/gradle-cache-action@v1
name: 'Run Druid tests'
with:
build-root-directory: ./calcite
job-id: Druid8
arguments: --scan --no-parallel --no-daemon :druid:test -Dcalcite.test.druid=true
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@
/out
/*/out/
/example/*/out
.idea
# The star is required for further !/.idea/ to work, see https://git-scm.com/docs/gitignore
/.idea/*
# Icon for JetBrains Toolbox
!/.idea/icon.png
!/.idea/vcs.xml
*.iml

settings.xml
Expand Down
4 changes: 2 additions & 2 deletions .ratignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
**/src/test/resources/*.json
**/data.txt
**/data2.txt
#bu ildSrc/build
#b uildSrc/subprojects/*/build
.idea/vcs.xml
example/csv/src/test/resources/smoke_test.sql

# TODO: remove when pom.xml files are removed
src/main/config/licenses
Expand Down
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ matrix:
include:
- jdk: openjdk8
- jdk: openjdk11
- jdk: openjdk15
branches:
only:
- master
Expand All @@ -32,6 +33,9 @@ branches:
- /^[0-9]+-.*$/
install: true
script:
# Throw OutOfMemoryError in case less than 35% is free after full GC
# This avoids never-ending GC trashing if memory gets too low in case of a memory leak
- export _JAVA_OPTIONS="-XX:GCTimeLimit=90 -XX:GCHeapFreeLimit=35"
- ./gradlew --no-daemon build
git:
depth: 100
Expand All @@ -41,7 +45,5 @@ cache:
- $HOME/.gradle/wrapper/

before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/

# End .travis.yml
- ./gradlew --stop
- F=CleanupGradleCache sh -x -c 'curl -O https://raw.githubusercontent.com/vlsi/cleanup-gradle-cache/v1.x/$F.java && javac -J-Xmx128m $F.java && java -Xmx128m $F'
12 changes: 12 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -175,3 +175,15 @@
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

Additional License files can be found in the 'licenses' folder located in the same directory as the LICENSE file (i.e. this file)

- Software produced outside the ASF which is available under other licenses (not Apache-2.0)

MIT
* cobyism:html5shiv:3.7.2
* font-awesome:font-awesome-code:4.2.0
* gridsim:gridsim:
* jekyll:jekyll:
* normalize:normalize:3.0.2
* respond:respond:1.4.2
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Apache Calcite
Copyright 2012-2019 The Apache Software Foundation
Copyright 2012-2020 The Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
Expand Down
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Apache Calcite release 1.21.0
Apache Calcite release 1.26.0

This is a source or binary distribution of Apache Calcite.

Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ See the License for the specific language governing permissions and
limitations under the License.
{% endcomment %}
-->

[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.apache.calcite/calcite-core/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.apache.calcite/calcite-core)
[![Travis Build Status](https://travis-ci.org/apache/calcite.svg?branch=master)](https://travis-ci.org/apache/calcite)
[![CI Status](https://github.com/apache/calcite/workflows/CI/badge.svg)](https://github.com/apache/calcite/actions)
[![CI Status](https://github.com/apache/calcite/workflows/CI/badge.svg?branch=master)](https://github.com/apache/calcite/actions?query=branch%3Amaster)
[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/apache/calcite?svg=true&branch=master)](https://ci.appveyor.com/project/ApacheSoftwareFoundation/calcite)

# Apache Calcite
Expand Down
Loading