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
As far as I understand BigQuery response is always encoded as JSON, which is not the most compact format especially when primary data are arrays of primitive types (such as int or double).
Getting a field as C-array is very convenient for marshaling the value across runtimes - e.g. send a query from Haskell, wrap response into ndarray and feed into Python library (numpy).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
As far as I understand BigQuery response is always encoded as JSON, which is not the most compact format especially when primary data are arrays of primitive types (such as int or double).
Getting a field as C-array is very convenient for marshaling the value across runtimes - e.g. send a query from Haskell, wrap response into ndarray and feed into Python library (numpy).
Beta Was this translation helpful? Give feedback.
All reactions