RAV-1502#1877
Closed
sarbjeet805 wants to merge 205 commits into
Closed
Conversation
BigQuery POSITION and UNION emulation added.
…e aggregate function.
…inting Window Frame Boundary Conditional printing based on The aggregate fun…
…ment Hive POSITION and MOD function emulation added.
BigQuery POSITION and UNION emulation added.
…ialectSpecificOperatorSupport # Conflicts: # core/src/main/java/org/apache/calcite/rel/rel2sql/SqlImplementor.java # core/src/main/java/org/apache/calcite/sql/dialect/BigQuerySqlDialect.java # core/src/main/java/org/apache/calcite/sql/dialect/HiveSqlDialect.java # core/src/test/java/org/apache/calcite/rel/rel2sql/RelToSqlConverterTest.java
2. Select without From support for Hive, Spark and BigQuery. 3. Values clause support for Hive, Spark and BigQuery.
2. Select without From support for Hive, Spark and BigQuery. 3. Values clause support for Hive, Spark and BigQuery.
Dialect specific operator support
…ialectSpecificOperatorSupport # Conflicts: # core/src/main/java/org/apache/calcite/sql/dialect/BigQuerySqlDialect.java
…ialectSpecificOperatorSupport # Conflicts: # core/src/main/java/org/apache/calcite/sql/dialect/BigQuerySqlDialect.java
Dialect specific operator support
Adding support for printing CROSS JOIN for Spark instead of COMMA
Added: 1.Support for column alias in order by clause for BigQuerySqlDialect and HiveSqlDialect 2.Emulated null direction for BigQuerySqlDialect 3.Test cases for order by alias desc and asc
Dm calcite 2552
formatting changes calcite-2552
Pull request for JIRA https://issues.apache.org/jira/browse/CALCITE-2552 1. Added sqlConformance instance in SqlDialect for dialect specific features. 2. Added enum entry for Hive and BigQuery in SqlConformanceEnum 3. SqlImplementor is checking whether dialect supports column name in alias by looking at SqlConformance.isSortByAlias() 4. Emulated null direction for BigQuerySqlDialect 5. Added test cases for order by alias desc and asc
* Revert "Revert: RAV-904: Format_timestamp function changes revert" This reverts commit f611a5a * Revert "RAV-904: Format_timestamp function changes" This reverts commit 0d9fdc5 * Revert "RAV-904: Format_timestamp function changes" This reverts commit 18c27a5 * Revert "RAV-904: Format_timestamp function changes" This reverts commit d05e95a
* Code refactoring * [Dhirenda Gautam]DATE_ADD/DATE_SUB with Integer column name * Function modularization for hive and spark
* RAV-1273 : Handling for NVL function * RAV-1273 : Added some test cases * RAV-1273 : Added test cases and IFNULL operator in SqlLibraryOperators * RAV-1273 : Code review changes * RAV-1273 : Code review changes * RAV-1273 : Added simplification logic for NVL * RAV-1273 : Optimized nvl simplify logic * RAV-1273 : Modified test cases * RAV-1273 : Handling for NVL and NVL2 function * RAV-1273 : Handling for NVL and NVL2 function
* Current_timestamp changes * Current_timestamp changes * RAV-904-timestamp: Current timestamp changes * RAV-904-timestamp: Current timestamp changes * RAV-904-timestamp: Current timestamp changes * current_timestamp changes * RAV-904-timestamp: Current timestamp changes * RAV-904-timestamp: Current timestamp changes * code review comment resolved * code review comment resolved * code review comment resolved * code review comment resolved Co-authored-by: Soma Mondal <mail.mondal.soma@gmail.com>
…d in group by are treated same as literal (#72)
* CURRENT_USER with parenthesis support for Hive, BigQuery * Added current_user support for spark * modified test cases for CURRENT_USER * updated sqlkind * Updated test cases for hive/spark * Modify logic for checking CURRENT_USER * Fix review comment * Removed spark current_user code * adding system_functions in Function list * fix build failure issue * revert sqlkind system_function * Update Other function logic * Refactor Other function code in HiveSqlDialect * resolve checkstyle issue
* RAV-1410 : Handling TO_NUMBER for snowflake * RAV-1410 : Handling TO_NUMBER for snowflake * RAV-1410 : Handling TO_NUMBER for snowflake * RAV-1410 : Handling TO_NUMBER for snowflake * RAV-1410 : Handling TO_NUMBER for snowflake * RAV-1410 : Handling TO_NUMBER for snowflake * RAV-1410 : Handling TO_NUMBER for snowflake
* Table function scan support. Changes done are referred from apache@50cfaec * Table function scan support. * Table function scan support. * Table function scan support. * Table function scan support.
* Handle Cast to Time & Timestamp in BQ, Hive, Spark * Handle Cast to Time & Timestamp in BQ, Hive, Spark Co-authored-by: Soma Mondal <soma.mondal.datametica.com>
Co-authored-by: Soma Mondal <soma.mondal.datametica.com>
* Snowflake: Date +/- Integer * Snowflake: Date +/- Integer Co-authored-by: Soma Mondal <soma.mondal.datametica.com>
* RPAD and LPAD hive spark * Fix build failure * Fix review comments * Fix review comments * Fix review comments
* Support for length has been added for snowflake * mapped to char_length * test case added
…has been added" This reverts commit 35e9ea1.
Contributor
|
@sarbjeet805, it looks like the PR is for the wrong repository :-/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Support of log function for snowflake dialect added