You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BigQuery: order not preserved when downloading ORDER BY query results to dataframe with BQ Storage API #7759
Since data is downloaded in parallel, order might not be preserved. I believe if you explicitly request only a single stream, order is preserved. (Internal bug 130887748 to confirm this).
Idea: Add a _preserve_order property to RowIterator. If true, only use one stream. Defualt to false. Set to true in QueryJob.result() if the query string contains "ORDER BY" (case insensitive, any amount of whitespace between ORDER and BY).
Activity
tswast commentedon Apr 19, 2019
Idea: Add a
_preserve_orderproperty to RowIterator. If true, only use one stream. Defualt to false. Set to true in QueryJob.result() if the query string contains "ORDER BY" (case insensitive, any amount of whitespace between ORDER and BY).