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

reintroduce readr import for read_file #12

Conversation

daranzolin
Copy link
Owner

Per #11, some heavily commented queries weren't being recognized after the string manipulation in source_sql_to_dataframe(). This PR reintroduces the readr import for readr::read_file() which correctly handles comments, encoding, etc.

@daranzolin daranzolin merged commit cdc5199 into main Jun 3, 2024
5 checks passed
@daranzolin daranzolin deleted the 11-source_sql_to_dataframe-cant-recognize-some-heavily-commented-queries branch June 3, 2024 16:35
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.

source_sql_to_dataframe can't recognize some heavily commented queries
1 participant