linkedin / linkedin/coral

Please clarify documentation on how to use Coral-Spark with no hive

Open
#68 2 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

The objective of Coral-Spark => View logical plan to spark sql

Unfortunately the entrypoint to coral is RelNode which is hard to construct from a view logical plan.
I've looked into the test cases and it seems we can not live without hive.
HiveToRelConverter needs a full-fledged hive system. But to build a RelNode we only need spark's catalog (which can be anything, HMS/SparkCatalog or any 3rd party catalog).

But I've requirement of converting pure (LogicalPlan -> String) to re-generate sql.

Any ideas on that?

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

Start with the Coral-Spark entrypoint and the mentioned test cases, focusing on how HiveToRelConverter currently constructs a RelNode and what Spark catalog support is available. Document whether a pure Spark LogicalPlan can be converted to SQL without a full Hive system, including the supported setup and a clear example or limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spark
Domain
databases, documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.