pub enum AdHocResultFormat {
Text,
Json,
Parquet,
ArrowIpc,
Hash,
}Expand description
URL-encoded format argument to the /query endpoint.
Variants§
Text
Serialize results as a human-readable text table.
Json
Serialize results as new-line delimited JSON records.
§Deprecation Notice
This format is deprecated and will be removed in the future.
Users are encouraged to use the arrow_ipc format instead,
See https://github.com/feldera/feldera/issues/4219 for more details.
Parquet
Download results in a parquet file.
ArrowIpc
Stream data in the arrow IPC format.
Hash
Returns a hash of the results instead of the actual data.
The output in this case is a single string/line containing a SHA256 hash (or a JSON formatted error message in case the query failed to execute).
This is useful for verifying the integrity of the data without transferring the entire dataset.
Note that supplying a query with this format will implicitly
add an ORDER BY clause for all fields of the result to the query
to ensure consistent ordering of results.
e.g., a query like select * from materialized_view will be rewritten as
select * from materialized_view order by col1, col2, ..., colN
Trait Implementations§
Source§impl Clone for AdHocResultFormat
impl Clone for AdHocResultFormat
Source§fn clone(&self) -> AdHocResultFormat
fn clone(&self) -> AdHocResultFormat
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more