Skip to content

[SPARK-43293][SQL] __qualified_access_only should be ignored in normal columns#40961

Closed
cloud-fan wants to merge 1 commit into
apache:masterfrom
cloud-fan:col
Closed

[SPARK-43293][SQL] __qualified_access_only should be ignored in normal columns#40961
cloud-fan wants to merge 1 commit into
apache:masterfrom
cloud-fan:col

Conversation

@cloud-fan

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

This is a followup of #39596 to fix more corner cases. It ignores the special column flag that requires qualified access for normal output attributes, as the flag should be effective only to metadata columns.

Why are the changes needed?

It's very hard to make sure that we don't leak the special column flag. Since the bug has been in the Spark release for a while, there may be tables created with CTAS and the table schema contains the special flag.

Does this PR introduce any user-facing change?

No

How was this patch tested?

new analysis test

@github-actions github-actions Bot added the SQL label Apr 26, 2023
@cloud-fan

Copy link
Copy Markdown
Contributor Author

cc @gengliangwang

@cloud-fan

Copy link
Copy Markdown
Contributor Author

thanks for the review, merging to master/3.4/3.3!

@cloud-fan cloud-fan closed this in 021f02e Apr 27, 2023
cloud-fan added a commit that referenced this pull request Apr 27, 2023
…mal columns

This is a followup of #39596 to fix more corner cases. It ignores the special column flag that requires qualified access for normal output attributes, as the flag should be effective only to metadata columns.

It's very hard to make sure that we don't leak the special column flag. Since the bug has been in the Spark release for a while, there may be tables created with CTAS and the table schema contains the special flag.

No

new analysis test

Closes #40961 from cloud-fan/col.

Authored-by: Wenchen Fan <wenchen@databricks.com>
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
(cherry picked from commit 021f02e)
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
cloud-fan added a commit that referenced this pull request Apr 27, 2023
…mal columns

This is a followup of #39596 to fix more corner cases. It ignores the special column flag that requires qualified access for normal output attributes, as the flag should be effective only to metadata columns.

It's very hard to make sure that we don't leak the special column flag. Since the bug has been in the Spark release for a while, there may be tables created with CTAS and the table schema contains the special flag.

No

new analysis test

Closes #40961 from cloud-fan/col.

Authored-by: Wenchen Fan <wenchen@databricks.com>
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
(cherry picked from commit 021f02e)
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
LuciferYang pushed a commit to LuciferYang/spark that referenced this pull request May 10, 2023
…mal columns

### What changes were proposed in this pull request?

This is a followup of apache#39596 to fix more corner cases. It ignores the special column flag that requires qualified access for normal output attributes, as the flag should be effective only to metadata columns.

### Why are the changes needed?

It's very hard to make sure that we don't leak the special column flag. Since the bug has been in the Spark release for a while, there may be tables created with CTAS and the table schema contains the special flag.

### Does this PR introduce _any_ user-facing change?

No

### How was this patch tested?

new analysis test

Closes apache#40961 from cloud-fan/col.

Authored-by: Wenchen Fan <wenchen@databricks.com>
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
snmvaughan pushed a commit to snmvaughan/spark that referenced this pull request Jun 20, 2023
…mal columns

This is a followup of apache#39596 to fix more corner cases. It ignores the special column flag that requires qualified access for normal output attributes, as the flag should be effective only to metadata columns.

It's very hard to make sure that we don't leak the special column flag. Since the bug has been in the Spark release for a while, there may be tables created with CTAS and the table schema contains the special flag.

No

new analysis test

Closes apache#40961 from cloud-fan/col.

Authored-by: Wenchen Fan <wenchen@databricks.com>
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
(cherry picked from commit 021f02e)
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
GladwinLee pushed a commit to lyft/spark that referenced this pull request Oct 10, 2023
…mal columns

This is a followup of apache#39596 to fix more corner cases. It ignores the special column flag that requires qualified access for normal output attributes, as the flag should be effective only to metadata columns.

It's very hard to make sure that we don't leak the special column flag. Since the bug has been in the Spark release for a while, there may be tables created with CTAS and the table schema contains the special flag.

No

new analysis test

Closes apache#40961 from cloud-fan/col.

Authored-by: Wenchen Fan <wenchen@databricks.com>
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
(cherry picked from commit 021f02e)
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
catalinii pushed a commit to lyft/spark that referenced this pull request Oct 10, 2023
…mal columns

This is a followup of apache#39596 to fix more corner cases. It ignores the special column flag that requires qualified access for normal output attributes, as the flag should be effective only to metadata columns.

It's very hard to make sure that we don't leak the special column flag. Since the bug has been in the Spark release for a while, there may be tables created with CTAS and the table schema contains the special flag.

No

new analysis test

Closes apache#40961 from cloud-fan/col.

Authored-by: Wenchen Fan <wenchen@databricks.com>
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
(cherry picked from commit 021f02e)
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants