Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runtime: expand view for external table storage #3662

Merged
merged 5 commits into from
Dec 11, 2023
Merged

Conversation

k-anshul
Copy link
Member

@k-anshul k-anshul commented Dec 8, 2023

closes #3332 (partially fixes it, to fix it fully is a long term solution)

if err := rows.Scan(&col); err != nil {
return "", err
}
cols = append(cols, col)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't it use safeName for the col? Otherwise, the statement will break if there's a column named e.g. hel"lo

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah correct.

@k-anshul
Copy link
Member Author

k-anshul commented Dec 8, 2023

The test failures though persistent seems unrelated.

@k-anshul k-anshul self-assigned this Dec 11, 2023
@begelundmuller begelundmuller merged commit 9ecb060 into main Dec 11, 2023
4 checks passed
@begelundmuller begelundmuller deleted the expand_view branch December 11, 2023 10:53
mindspank pushed a commit that referenced this pull request Dec 18, 2023
* expand view for external table storage

* lint fix

* duckdb driver complexity list

* review comments - use safename for col
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Runtime: Investigate table "<...>" has 55 columns available but 61 columns specified DuckDB error
2 participants