coral icon indicating copy to clipboard operation
coral copied to clipboard

Trino to Spark conversion is broken

Open rnatarajan opened this issue 1 year ago • 2 comments

Using Coral, I am able to convert the query with functions from StaticHiveFunctionRegistry from Hive to Spark or Hive to Trino.

However the same is broken for Trino to Spark.

Steps for Reproduction using Coral Service

#Create Database and Table
CREATE DATABASE db
CREATE table db.tbl ( a INT)

#Convert Query 
SELECT count(*) from db.tbl

Error Message At line 0, column 0: Unknown identifier '*'

rnatarajan avatar Mar 22 '23 16:03 rnatarajan