apache/kyuubi

[TASK][EASY] Spark crashes with ClassCastException when resolving a join of masked tables

Open

#5,367 opened on Oct 8, 2023

View on GitHub
 (2 comments) (0 reactions) (1 assignee)Scala (996 forks)batch import
hacktoberfest

Repository metrics

Stars
 (2,332 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Code of Conduct

Search before creating

  • I have searched in the task list and found no similar tasks.

Mentor

  • I have sufficient knowledge and experience of this task, and I volunteer to be the mentor of this task to guide contributors to complete the task.

Skill requirements

  • Knowledge about Spark Catalyst
  • Basic Knowledge of SQL authorization model, e.g. Apache Ranger

Background and Goals

Spark authz plugin may generate an invalid query plan which fails the query https://github.com/apache/kyuubi/issues/5092

Implementation steps

Analysis the stack trace and fix the invalid query plan

Additional context

Original reporter is @yaooqinn

Contributor guide