Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
683 commits
Select commit Hold shift + click to select a range
6c07515
Merge pull request #142 from datametica/dayformat_fix
deepakDatametica Jan 15, 2021
7abf7d3
Formatting + alias expr code revert
soma-mondal Jan 16, 2021
3c11ce8
Group by ordinal
soma-mondal Jan 16, 2021
b79272f
Merge branch 'master' of https://github.com/datametica/calcite into R…
Jan 18, 2021
63a2d80
Resolved: Bugs Fixed.
Jan 18, 2021
c1beba2
RAV-4557: CEIL to CEILING IN MSSQL
Jan 18, 2021
2a48afe
RAV-4557: Formatting Changes
Jan 18, 2021
68a9971
RAV-4557: Formatting Changes
Jan 18, 2021
984a9f5
RAV-4557: Formatting Changes
Jan 18, 2021
1ee6705
Round support for Synapse Added.
Jan 18, 2021
f308fa1
RAV-4445-Trim-Support-For-MSSql
Jan 18, 2021
6d5a243
RAV-4445-Trim-Support-For-MSSql : Format Changes
Jan 18, 2021
6847659
RAV-4445-Trim-Support-For-MSSql : Format Changes
Jan 18, 2021
b9ac4ab
Merge pull request #145 from datametica/RAV-4445-Trim-Support-For-MSSql
deepakDatametica Jan 18, 2021
74f5d7a
LOG Support for Synapse Added.
Jan 18, 2021
8a099ce
Resolved: Bugs Fixed.
Jan 18, 2021
a2a8111
Merge branch 'master' of https://github.com/datametica/calcite into R…
Jan 18, 2021
96c3e10
Resolved: Bugs Fixed.
Jan 18, 2021
362a7a0
Resolved: Bugs Fixed.
Jan 19, 2021
85cadee
Merge branch 'master' of https://github.com/datametica/calcite into R…
Jan 19, 2021
e198cc3
Resolved: Bugs Fixed.
Jan 19, 2021
8210e75
Fixed Merge Conflicts.
Jan 19, 2021
af65111
Merge pull request #144 from datametica/RAV-4557-Ceil-Support-MSSql
deepakDatametica Jan 19, 2021
fb45f89
Resolved: Bugs Fixed.
Jan 19, 2021
a461fa6
Merge branch 'master' of https://github.com/datametica/calcite into R…
Jan 19, 2021
fd01065
Resolved: Bugs Fixed.
Jan 19, 2021
efe40c6
Merge pull request #146 from datametica/RAV-4819-LogSupportForSynapse
deepakDatametica Jan 19, 2021
5bfc301
Resolved: Bugs Fixed.
Jan 19, 2021
5c49cae
Merge branch 'master' of https://github.com/datametica/calcite into R…
Jan 19, 2021
163cebd
Resolved: Bugs Fixed.
Jan 19, 2021
a02a601
Merge branch 'master' of https://github.com/datametica/calcite into R…
Jan 20, 2021
c6902f2
Added Round support for Synapse.
Jan 20, 2021
2bfa0ad
Resolved: Bugs Fixed.
Jan 20, 2021
0a35199
Resolved: Bugs Fixed.
Jan 20, 2021
53b529a
Resolved: Bugs Fixed.
Jan 20, 2021
7c4f359
Resolved: Bugs Fixed.
Jan 20, 2021
27a36c9
Added Round support for Synapse.
Jan 20, 2021
beed7ea
Resolved: Bugs Fixed.
Jan 20, 2021
0bcb71f
Merge pull request #147 from datametica/RAV-4825-RoundFunctionSupport…
deepakDatametica Jan 20, 2021
e57b789
Merge branch 'master' of https://github.com/datametica/calcite into R…
Jan 20, 2021
fe6b5a8
timestamp cast handling to datetime2
deepakDatametica Jan 21, 2021
d653162
fix test case
deepakDatametica Jan 21, 2021
542bf7a
Resolved: Bugs Fixed.
Jan 21, 2021
e75c7f1
MsSql supports for CONCAt, DAYOFMONTH and Window Function
rohitgaurDatametica Jan 21, 2021
4fc9678
Added INSTR Support for Synapse.
Jan 21, 2021
7852420
adding rpad support
deepakDatametica Jan 22, 2021
81788d0
Merge branch 'master' of https://github.com/datametica/calcite into c…
deepakDatametica Jan 22, 2021
524a088
Resolved: Bugs Fixed.
Jan 22, 2021
717a369
Merge pull request #148 from datametica/RAV-4830-TruncFunctionSupport…
deepakDatametica Jan 22, 2021
8ce7d1f
Merge branch 'master' of https://github.com/datametica/calcite into R…
Jan 22, 2021
e7604c8
Merge pull request #143 from datametica/RAV-4755-NVLSynapseSupport
deepakDatametica Jan 22, 2021
de65cea
Merge branch 'master' of https://github.com/datametica/calcite into R…
Jan 22, 2021
b918c69
windowFun, current_Timestamp support
rohitgaurDatametica Jan 25, 2021
3b4df80
Merge remote-tracking branch 'origin/master' into ProjectionOpsBuilde…
rohitgaurDatametica Jan 25, 2021
5edfdc0
resolve master merge conflicts
deepakDatametica Jan 25, 2021
3a25dbe
unparse concat function
deepakDatametica Jan 25, 2021
7df1da3
fix checkstyle
deepakDatametica Jan 27, 2021
97365a2
Extract support in MsSql
deepakDatametica Jan 28, 2021
cd29767
code refactoring
rohitgaurDatametica Jan 28, 2021
78a00ab
supported current_time and current_timestamp
deepakDatametica Jan 28, 2021
99a46d2
code refactoring
rohitgaurDatametica Jan 28, 2021
6be7f9d
fix review comment
deepakDatametica Jan 28, 2021
2ae13b6
fix review comment
deepakDatametica Jan 28, 2021
4de9858
Added LastDay function unparsing for mssql
pratik163 Jan 28, 2021
093a583
Added LastDay function unparsing for mssql
pratik163 Jan 28, 2021
3d3e9b4
resolved review comments
pratik163 Jan 28, 2021
a345695
Merge pull request #154 from datametica/Last_Day
deepakDatametica Jan 29, 2021
1a4beff
Resolved: Bugs Fixed.
Jan 29, 2021
3c605be
resolved master merge conflicts
deepakDatametica Jan 29, 2021
33b8087
Merge pull request #152 from datametica/Extract_Synapsys_support
deepakDatametica Jan 29, 2021
cecf04b
master merge conflicts
deepakDatametica Jan 29, 2021
fe871f4
Merge branch 'master' of https://github.com/datametica/calcite into R…
Jan 29, 2021
5359467
Resolved: Bugs Fixed + Round Function Fixed.
Jan 29, 2021
76874c1
fix review comments
deepakDatametica Jan 29, 2021
8ead153
modified for time sqltypename
deepakDatametica Jan 29, 2021
2db7195
RAV-4945 interval support
sarbjeet805 Jan 29, 2021
3bb83dc
WindowFunctionSupportMSSQL
rohitgaurDatametica Feb 1, 2021
9b503a3
CONCAT_and_DAYOFMONTH_support_for_SNOWFLAKE
rohitgaurDatametica Feb 1, 2021
7383f3a
Resolved: Bugs Fixed.
Feb 1, 2021
0184f93
Merge branch 'master' of https://github.com/datametica/calcite into R…
Feb 1, 2021
2e3401b
test cases added
rohitgaurDatametica Feb 1, 2021
25f8f1f
other case removed
rohitgaurDatametica Feb 1, 2021
9a6a7b5
other case added
rohitgaurDatametica Feb 1, 2021
3cef80a
Merge pull request #159 from datametica/RAV-4830-TruncFunctionSupport…
soma-mondal Feb 1, 2021
d5f57cd
Added the support for HHMISS
RajshriGh Feb 1, 2021
672e0ad
Merge pull request #161 from datametica/RAV4768
soma-mondal Feb 1, 2021
d43b95e
Merge branch 'master' of https://github.com/datametica/calcite into R…
Feb 1, 2021
be6bbb5
Merge pull request #156 from datametica/RAV-InstrFunctionSupportForSy…
soma-mondal Feb 1, 2021
59bca04
Merge branches 'cast_support_mssql' and 'master' of https://github.co…
deepakDatametica Feb 2, 2021
f0fb32a
sqlFunctions added
rohitgaurDatametica Feb 2, 2021
969038e
test case string changed
rohitgaurDatametica Feb 2, 2021
4129856
Merge remote-tracking branch 'origin/master' into ProjectionOpsBuilde…
rohitgaurDatametica Feb 2, 2021
8fba470
Merge pull request #150 from datametica/ProjectionOpsBuilderSpec
deepakDatametica Feb 2, 2021
f526e54
Added To_NUMBER support for MSSQL
pratik163 Feb 2, 2021
3ab1575
Merge branch 'master' of https://github.com/datametica/calcite into T…
pratik163 Feb 2, 2021
b8193b8
Fixed failing test cases
deepakDatametica Feb 2, 2021
f015bf1
Fix review comments
deepakDatametica Feb 2, 2021
d7882be
Merge remote-tracking branch 'origin/master' into CONCAT_and_DAYOFMON…
rohitgaurDatametica Feb 2, 2021
63ced74
test case added
rohitgaurDatametica Feb 3, 2021
ee8e387
Merge branch 'master' of https://github.com/datametica/calcite into R…
sarbjeet805 Feb 3, 2021
9351d1b
Merge pull request #162 from datametica/TO_NUMBER
soma-mondal Feb 3, 2021
c3ff42d
Merge branches 'cast_support_mssql' and 'master' of https://github.co…
deepakDatametica Feb 3, 2021
68299b6
concat support added
rohitgaurDatametica Feb 3, 2021
1a477f5
Fix review comments
deepakDatametica Feb 3, 2021
4ab6f8c
added concat test cases
deepakDatametica Feb 3, 2021
b5a5ebf
Merge pull request #160 from datametica/CONCAT_and_DAYOFMONTH_support…
soma-mondal Feb 3, 2021
94ec4ca
Merge branch 'master' of https://github.com/datametica/calcite into R…
sarbjeet805 Feb 3, 2021
5789add
removed precision from timestamp
deepakDatametica Feb 3, 2021
df055e6
resolved merge conflicts
deepakDatametica Feb 3, 2021
4b327ee
test cases added
sarbjeet805 Feb 3, 2021
39fd775
revert local change
deepakDatametica Feb 3, 2021
d9ac012
Merge pull request #157 from datametica/RAV-4945_Interval
soma-mondal Feb 4, 2021
af2baae
dayofmonth support for bigquery
rohitgaurDatametica Feb 4, 2021
3cd51a2
whitespace
deepakDatametica Feb 4, 2021
e8d892c
dayofmonth support for bigquery
rohitgaurDatametica Feb 4, 2021
f1233af
Merge pull request #149 from datametica/cast_support_mssql
soma-mondal Feb 4, 2021
3a275e2
c1
rohitgaurDatametica Feb 4, 2021
57f2a82
name changed
rohitgaurDatametica Feb 4, 2021
9c96624
code refactoring
rohitgaurDatametica Feb 4, 2021
09416e3
Merge pull request #164 from datametica/ProjectionOpsBuilderSpec
deepakDatametica Feb 4, 2021
852b159
RAV_5051:Added support for intersect with order by (#167)
sarbjeet805 Feb 9, 2021
e564596
adding ARRAY_LENTH for BigQuerySqlDialect
deepakDatametica Feb 10, 2021
701fd17
Merge branches 'master' and 'regexp_match_count' of https://github.co…
deepakDatametica Feb 10, 2021
8dd8266
added support for months_between
rohitgaurDatametica Feb 10, 2021
c8a603f
REGEXP_MATCH_COUNT and ARRAY_LENGTH in BigQuery
deepakDatametica Feb 14, 2021
3bc89f6
Added more parameters in regexp_match_count
deepakDatametica Feb 14, 2021
0bd6cd7
Fix validation issues
deepakDatametica Feb 15, 2021
0a0b392
Fix validation issues
deepakDatametica Feb 15, 2021
ad3cea1
Fix review comments
deepakDatametica Feb 15, 2021
073b9fd
removed duplicate test case
deepakDatametica Feb 15, 2021
ea5ce07
create separate method for regexpExtractall
deepakDatametica Feb 15, 2021
19fb948
Fix validation issue
deepakDatametica Feb 15, 2021
114e8d2
Netezza Functions added - PI, COT, INT2SHR, INT2SHL, OCTET_LENGTH, IN…
rohitgaurDatametica Feb 16, 2021
9ed0513
Months_between support in BigQuery
rohitgaurDatametica Feb 16, 2021
8664a19
Merge pull request #169 from datametica/regexp_match_count
deepakDatametica Feb 16, 2021
0c93be0
Merge remote-tracking branch 'origin/master' into NZ_Functions_support
rohitgaurDatametica Feb 17, 2021
078ead0
REGEXP_CONTAINS for BIGQUERY
deepakDatametica Feb 17, 2021
3bd3507
code refactoring and functions added in SqlFunctions
rohitgaurDatametica Feb 17, 2021
8115551
REGEXP_EXTRACT support for BQ
deepakDatametica Feb 17, 2021
6af28af
Months_between logic in SqlFunctions
rohitgaurDatametica Feb 17, 2021
b76599d
REGEXP_EXTRACT added test cases
deepakDatametica Feb 17, 2021
7d676aa
removed extra parameters from regexp_contains
deepakDatametica Feb 17, 2021
5be1774
adding support for Extract
saurabhgupta-datametica Feb 17, 2021
b17216e
change type of PI function
rohitgaurDatametica Feb 18, 2021
c763f57
code refactoring
rohitgaurDatametica Feb 18, 2021
05e515c
code refactoring
rohitgaurDatametica Feb 18, 2021
bb55fea
code refactoring
rohitgaurDatametica Feb 18, 2021
43c82b9
code refactoring
rohitgaurDatametica Feb 18, 2021
058427a
code refactoring
rohitgaurDatametica Feb 18, 2021
d4a0e50
RAV-5261: Support of interval hour
sarbjeet805 Feb 18, 2021
4f872d8
RAV-5261: Support of interval hour
sarbjeet805 Feb 18, 2021
a059225
commits reverted
sarbjeet805 Feb 18, 2021
870237c
test case removed from RelToSqlConverterTest
rohitgaurDatametica Feb 18, 2021
d5b9eb2
tan function using SqlBuilder
rohitgaurDatametica Feb 19, 2021
51f14dc
Merge remote-tracking branch 'origin/master' into MONTHS_BETWEEN_SUPPORT
rohitgaurDatametica Feb 19, 2021
cac249b
Merge remote-tracking branch 'origin/master' into addingSupportForExt…
saurabhgupta-datametica Feb 19, 2021
e847564
adding support for Extract
saurabhgupta-datametica Feb 19, 2021
089caee
tan function using SqlBuilder
rohitgaurDatametica Feb 19, 2021
264f60f
refactoring
rohitgaurDatametica Feb 19, 2021
e1bd9d9
Fix review comments
deepakDatametica Feb 19, 2021
2eb482b
added reference in documentation
rohitgaurDatametica Feb 19, 2021
6156afe
Fix review comments
deepakDatametica Feb 19, 2021
7752b08
Fix review comments
deepakDatametica Feb 19, 2021
74b92ba
added reference in documentation
rohitgaurDatametica Feb 19, 2021
e4a63a9
added reference in documentation
rohitgaurDatametica Feb 19, 2021
1956ff0
Merge pull request #172 from datametica/regex_contains
deepakDatametica Feb 19, 2021
82f3e9c
Merge pull request #173 from datametica/RAV_5261_Interval_hour
deepakDatametica Feb 19, 2021
ae6f11b
Merge remote-tracking branch 'origin/feature/19_Feb' into MONTHS_BETW…
rohitgaurDatametica Feb 19, 2021
a788c1c
Merge remote-tracking branch 'origin/feature/19_Feb' into NZ_Function…
rohitgaurDatametica Feb 19, 2021
840b36e
Merge pull request #168 from datametica/MONTHS_BETWEEN_SUPPORT
deepakDatametica Feb 19, 2021
2ea081b
Merge remote-tracking branch 'origin/feature/19_Feb' into NZ_Function…
rohitgaurDatametica Feb 19, 2021
4b4ddee
Merge pull request #176 from datametica/feature/19_Feb
deepakDatametica Feb 19, 2021
a253dbf
test refactoring
rohitgaurDatametica Feb 19, 2021
5be4b8a
Merge remote-tracking branch 'origin/master' into NZ_Functions_support
rohitgaurDatametica Feb 19, 2021
e60ba5a
Merge remote-tracking branch 'origin/master' into addingSupportForExt…
saurabhgupta-datametica Feb 19, 2021
dd7275f
adding support for Extract
saurabhgupta-datametica Feb 19, 2021
7556643
test refactoring
rohitgaurDatametica Feb 19, 2021
4b179e7
test name changed
rohitgaurDatametica Feb 22, 2021
35e3fa8
Merge pull request #170 from datametica/NZ_Functions_support
deepakDatametica Feb 22, 2021
a856ba4
Merge pull request #177 from datametica/feature/19_Feb
deepakDatametica Feb 22, 2021
828948c
Merge remote-tracking branch 'origin/master' into TO_CHAR_FUNCTIONS
rohitgaurDatametica Feb 23, 2021
f81cdca
Table Function and test cases
soma-mondal Feb 23, 2021
a43609e
Merge remote-tracking branch 'origin/master' into addingSupportForExt…
saurabhgupta-datametica Feb 23, 2021
26ed1ad
commit after l1 review
saurabhgupta-datametica Feb 23, 2021
2836375
dayOfMonth and DayOfYear suppor for NZ to BQ
rohitgaurDatametica Feb 24, 2021
b5de1ca
Merge pull request #175 from datametica/addingSupportForExtract
soma-mondal Feb 24, 2021
8b90719
documentation added
rohitgaurDatametica Feb 24, 2021
de22adb
documentation added
rohitgaurDatametica Feb 24, 2021
c07ffae
Merge remote-tracking branch 'origin/master' into TO_CHAR_FUNCTIONS
rohitgaurDatametica Feb 24, 2021
3d64efe
RAV-5403_NTILE SUPPORT
sarbjeet805 Feb 24, 2021
90e112c
documentation changes
rohitgaurDatametica Feb 24, 2021
c6a5d39
documentation changes
rohitgaurDatametica Feb 25, 2021
4cd1f81
separate case for FORMAT_TIME in BigQuerySqlDialect
rohitgaurDatametica Feb 26, 2021
e45b6fc
separate method for formatTime
rohitgaurDatametica Feb 26, 2021
650dab6
Merge pull request #178 from datametica/TO_CHAR_FUNCTIONS
soma-mondal Feb 26, 2021
256fc9a
RAV-5487:datetime_add(timestamp minus interval hour second)
sarbjeet805 Mar 1, 2021
e6a8e45
comments resolved
sarbjeet805 Mar 2, 2021
aab803c
PARSE_TIMESTAMP() function proper writing support in BigQuery Dialect…
purvalila Mar 3, 2021
c1cb687
Merge branch 'master' of https://github.com/datametica/calcite into t…
sarbjeet805 Mar 4, 2021
a3d5f4d
Changes in to_timestamp and to_date function due to parse_timestamp f…
purvalila Mar 4, 2021
1faab0d
Merge branch 'master' of https://github.com/datametica/calcite into t…
sarbjeet805 Mar 5, 2021
719ba72
comments resolved
sarbjeet805 Mar 5, 2021
3a42517
Commenting merge Operation as Merge can have null updatelist also
dhirenda-gautam Mar 5, 2021
49b8c67
Commenting merge Operation as Merge can have null updatelist also
dhirenda-gautam Mar 5, 2021
2088eaf
comments resolved
sarbjeet805 Mar 5, 2021
c6d46ef
Merge branch 'master' of https://github.com/datametica/calcite into R…
sarbjeet805 Mar 5, 2021
b8b18e8
comments resolved
sarbjeet805 Mar 8, 2021
aea1a9c
comments resolved
sarbjeet805 Mar 8, 2021
938d607
Merge pull request #179 from datametica/RAV_5403_NTILE
soma-mondal Mar 8, 2021
a28a778
Merge pull request #181 from datametica/timestamp_minus_interval
soma-mondal Mar 8, 2021
aa0b6c0
IF commenting
soma-mondal Mar 8, 2021
ddf57e7
SqlImplementor
soma-mondal Mar 11, 2021
2b0382f
Dm-calcite master merge into apache calcite branch
deepakDatametica Mar 22, 2021
99bcdce
Sync with DM calcite master
dhirenda-gautam Mar 23, 2021
1be1b5a
Removed snapshot suffix from gradle file
dhirenda-gautam Mar 25, 2021
3a56135
Handling of IN clause
dhirenda-gautam Mar 30, 2021
5b362cb
INTERSECT issue
soma-mondal Apr 2, 2021
cf0375d
Test fixes for FLOAT data type in filter
Technay Apr 6, 2021
ea95e05
fix for appending additional spaces.
yogeshmuley Apr 6, 2021
f3dddea
Merge branch 'dm_calcite_19_dec_master_merge' of https://github.com/d…
yogeshmuley Apr 6, 2021
ee1d79f
SqlPrettyWriterTest Fix
soma-mondal Apr 6, 2021
5a764e4
emulateNullDirection changes in mssql
soma-mondal Apr 6, 2021
727520f
SEARCH kind handling in convertConditionToSqlNode
soma-mondal Apr 7, 2021
45e44f1
SqlConformanceEnum
soma-mondal Apr 12, 2021
d42bdcd
Order by fix
Technay Apr 13, 2021
767fd71
Test Fix
soma-mondal Apr 15, 2021
8c559b4
rollback
Technay Apr 15, 2021
43d2be8
removing import
soma-mondal Apr 15, 2021
91e578d
Old RexSimplify
soma-mondal Apr 16, 2021
4f2db13
ignored failing test case.
yogeshmuley Apr 16, 2021
076bac2
Igonore Test Case
soma-mondal Apr 19, 2021
0592a08
spark ignore for null direction
Technay Apr 19, 2021
f3670fe
Merge branch 'dm_calcite_19_dec_master_merge' of https://github.com/d…
Technay Apr 19, 2021
f3eee96
added ordinal support.
yogeshmuley Apr 21, 2021
0d49bb6
files require to build calcite on Jenkins Server.
yogeshmuley Apr 23, 2021
9c2dde4
Merge branch 'dm_calcite_19_dec_master_merge' of https://github.com/d…
Technay Apr 27, 2021
2121688
build fix
Technay Apr 27, 2021
1d8b6ce
build fix
Technay Apr 27, 2021
f4a798b
Merge branch 'dm_calcite_19_dec_master_merge' of https://github.com/d…
yogeshmuley Apr 29, 2021
06615fc
Compilation issue
soma-mondal Apr 29, 2021
9dba994
fix for additional subquery in group by having clause.
yogeshmuley Apr 30, 2021
d46061c
fix for additional subquery in group by having clause.
yogeshmuley Apr 30, 2021
de637ec
Fixed code style issues.
yogeshmuley Apr 30, 2021
aac6a6b
Fixed additional subquery issue.
yogeshmuley Apr 30, 2021
dc6d7dd
Fixed additional subquery issue.
yogeshmuley May 1, 2021
c800031
Having issue
soma-mondal May 1, 2021
cae1ef6
Merge pull request #188 from datametica/calcite_maven_to_gradle
yogeshmuley May 1, 2021
735f6c9
Commenting this line in SqlDialect (#190)
soma-mondal May 12, 2021
f9318c1
Moved RavenDistinctProject class from mig to calcite (#192)
saurabhgupta-datametica Jun 2, 2021
fbcf8d6
RAV-6507 Support of REGEXP_SUBSTR function at BigQuery End
ankitaspanse Jun 4, 2021
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