linkedin / linkedin/coral

com.linkedin.coral.hive.hive2rel.parsetree.parser.ParseException:

Open
#554 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
906
Forks
219
Avg merge
2d 13h
Merged PRs (30d)
2

Description

I am trying to create a hive view referring to a iceberg table using spark. That view is working fine on spark but facing issues while querying with Trino

CREATE VIEW test_iceberg.testing_view as AS SELECT * FROM iceberg.test.testing_table

Using :
Iceberg (1.7.1) with Hive metastore
Spark on EMR (3.4.1)
Trino(Tried with v442 & v475)

Failed to translate Hive view 'test_iceberg.testing_table': com.linkedin.coral.hive.hive2rel.parsetree.parser.ParseException: line 1:40 cannot recognize input near '.' 'testing_table' '' in table source

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Reproduce the Hive view translation with the supplied Iceberg, Spark, EMR, and Trino versions, then trace the Hive view parser path around the reported table-source error. Done means the shown view definition can be translated and queried successfully, with a regression test covering the case.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, sql
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.