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

Pseudo column support #375

Conversation

esert-g
Copy link
Contributor

@esert-g esert-g commented Apr 23, 2021

If queried BQ table is ingestion time partitioned, schema of the table is modified with the additions of top level _PARTITIONTIME and _PARTITIONDATE fields. This introduces a slight behavior change for select * queries (i.e. the two new pseudo columns are returned on top of regular schema). This can't be avoided at the moment because there isn't a way to differentiate queries within connector as far as I can tell. We also discovered a case where some of the array filters are erroneously rejected by bq storage api. We will have to disable their pushdown until it is fixed.

@esert-g
Copy link
Contributor Author

esert-g commented Apr 23, 2021

/gcbrun

@esert-g esert-g force-pushed the partitioned_table_but_no_push_down branch from 72abdfb to 9960312 Compare April 26, 2021 19:36
@davidrabinowitz
Copy link
Member

/gcbrun

@davidrabinowitz davidrabinowitz merged commit a414fdf into GoogleCloudDataproc:master Apr 26, 2021
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.

None yet

2 participants