Skip to content

Add INLINE + ARROW_STREAM format support for analytics plugin#245

Open
jamesbroadhead wants to merge 1 commit intodatabricks:mainfrom
jamesbroadhead:fix/arrow-stream-inline-support
Open

Add INLINE + ARROW_STREAM format support for analytics plugin#245
jamesbroadhead wants to merge 1 commit intodatabricks:mainfrom
jamesbroadhead:fix/arrow-stream-inline-support

Conversation

@jamesbroadhead
Copy link
Copy Markdown

Summary

  • Some serverless warehouses only support ARROW_STREAM with INLINE disposition, but the analytics plugin only offered JSON_ARRAY (INLINE) and ARROW_STREAM (EXTERNAL_LINKS)
  • Adds a new "ARROW_STREAM" format option that uses INLINE disposition, making the plugin compatible with these warehouses
  • Updates the AnalyticsFormat type to include "ARROW_STREAM"

Test plan

  • Deploy an app against a warehouse that only supports ARROW_STREAM inline
  • Verify useAnalyticsQuery with format: "ARROW_STREAM" returns results
  • Verify existing "JSON" and "ARROW" formats are unaffected

Fixes #242

Some serverless warehouses only support ARROW_STREAM with INLINE
disposition, but the analytics plugin only offered JSON_ARRAY (INLINE)
and ARROW_STREAM (EXTERNAL_LINKS). This adds a new "ARROW_STREAM"
format option that uses INLINE disposition, making the plugin
compatible with these warehouses.

Fixes databricks#242
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.

Analytics plugin incompatible with ARROW_STREAM-only warehouses

1 participant