coral icon indicating copy to clipboard operation
coral copied to clipboard

Coral is a translation, analysis, and query rewrite engine for SQL and other relational languages.

Results 119 coral issues
Sort by recently updated
recently updated
newest added

Adding a transformer class to convert the intermediate Coral RelNode representation to Coral SqlNode representation for lateral views. Ideally, this transformer should be in the coral-common module. However, the transformer...

Can Presto SQL be converted to Hive SQL?

![image](https://user-images.githubusercontent.com/45874392/182271927-2b8feb87-3c3b-4b63-b55a-05f11539c63a.png)

![image](https://user-images.githubusercontent.com/24431781/180351376-fb7d603d-90f4-4bbc-87da-f28f118586cb.png) Why is the character string transformed into Unicode encoding And the converted Unicode encoding starts with 'u&'

![image](https://user-images.githubusercontent.com/24431781/180125575-be7a62d2-cf03-4991-88fa-346863d02cd4.png)

I just clone coral and run ./gradlew build in the root path,then import IDEA,but IDEA can‘t find source class code like "coral.shade...." , IDEA version is 2020.01 . I found...

I am having a problem with sql translation to Trino that results in a query with an identifier column. ``` SELECT numbers , animal , n , a FROM (...

Currently during hive -> spark/trino Sql translations, coral creates a relNode plan. The tableScan relNode has a representation: LogicalTableScan(table=[[hive, dbName, tableName]]). When this relNode is translated to a SqlNode, "hive"...

This PR is for #235. `DaliOperatorTable` registers legal operators for Calcite to validate and convert the input SqlNode. Given we convert other types of operators (like Trino operators) to Hive...

Coral transform the following hive sql to trino ```shell select regexp_extract('1a 2b 14m', '\d+', 1); ``` result: ```shell select regexp_extract('1a 2b 14m', "hive_pattern_to_presto"('\d+'), 1); ``` But trino not have the...