-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
chore: Default to engine specification regarding using wildcard #27843
chore: Default to engine specification regarding using wildcard #27843
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #27843 +/- ##
==========================================
- Coverage 67.46% 59.99% -7.48%
==========================================
Files 1910 1912 +2
Lines 74802 75019 +217
Branches 8345 8345
==========================================
- Hits 50467 45007 -5460
- Misses 22284 27961 +5677
Partials 2051 2051
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
695c636
to
e40cb90
Compare
e40cb90
to
1a52e52
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #27843 +/- ##
==========================================
- Coverage 67.46% 59.99% -7.48%
==========================================
Files 1910 1912 +2
Lines 74802 75019 +217
Branches 8345 8345
==========================================
- Hits 50467 45007 -5460
- Misses 22284 27961 +5677
Partials 2051 2051
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
1a52e52
to
518dd95
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏼
518dd95
to
21fa5f3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. Thanks for fixing this @john-bodley.
21fa5f3
to
7a8b929
Compare
(cherry picked from commit 30bc8f0)
(cherry picked from commit 30bc8f0)
SUMMARY
The
BaseEngineSpec.select_star
method provides an option (with a default) with regards to whether or not one should use a wildcard (show_cols=False
) or enumerate the columns (show_cols=True
) when generating a SQL statement for fetching sample records from a dataset.Some of the underlying engines—Hive, Presto, BigQuery—override this method including the default for the
show_cols
function argument. When creating the SQL statement rather than forcingshow_cols=True
we should instead fallback to the engine specific preference.BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
CI.
ADDITIONAL INFORMATION