apache / apache/paimon

[Bug] NoSuchMethodError: org.apache.spark.sql.catalyst.trees.TreePattern$.SCALAR_SUBQUERY_REFERENCE

Open
#3,275 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
3.4k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
396

Description

### Search before asking

- [X] I searched in the [issues](https://github.com/apache/paimon/issues) and found nothing similar.

### Paimon version

0.7.0

### Compute Engine

Spark 3.4.2

### Minimal reproduce step

bin/spark-sql \
--conf spark.sql.catalog.spark_catalog=org.apache.paimon.spark.SparkGenericCatalog \
--conf spark.sql.extensions=org.apache.paimon.spark.extensions.PaimonSparkSessionExtensions \
--jars paimon-spark-3.4-0.7.0-incubating.jar

> show tables;
![image](https://github.com/apache/paimon/assets/138455698/40e9697a-9606-4c95-a645-e942ee66bac1)

Tips: This Operation is normal on Spark 3.2.2

### What doesn't meet your expectations?

can show tables

### Anything else?

_No response_

### Are you willing to submit a PR?

- [ ] I'm willing to submit a PR!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running the provided bin/spark-sql command with Paimon 0.7.0, Spark 3.4.2, the listed catalog and extensions, then compare it with Spark 3.2.2. Investigate the NoSuchMethodError involving TreePattern$.SCALAR_SUBQUERY_REFERENCE; done means the show tables command completes successfully on Spark 3.4.2.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spark
Domain
data-engineering
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.