Apache Arrow Flight Support in Zerobus Ingest
Send Apache Arrow data directly to Zerobus Ingest without converting every row to JSON or protobuf.
O que mudou
Apache Arrow Flight support in Zerobus Ingest is now generally available. It lets you send Apache Arrow columnar record batches directly over gRPC, reducing CPU serialization overhead for analytics workloads.### Use casesImagine your application builds in-memory DataFrames or tables using Pyarrow, Polars, or DataFusion and you need to ingest them rapidly into a Delta table. You can:- Send data in columnar batches (RecordBatch or Table) instead of row by row.- Lower CPU overhead on wide and numeric schemas.- Optionally compress IPC payloads in transit using LZ4 or ZSTD.### How to useInstall the package with Arrow support and open an ingestion stream using the Python or Rust SDK.Bashpip install "databricks-zerobus-ingest-sdk[arrow]"Python```import pyarrow as pa
from zerobus.sdk.sync import ZerobusSdk
SERVER_ENDPOINT = "https://1234567890123456.zerobus.us-west-2.cloud.databricks.com" DATABRICKS_WORKSPACE_URL = "https://dbc-a1b2c3d4-e5f6.cloud.databricks.com" TABLE_NAME = "main.default.air_quality" CLIENT_ID = "your-client-id" CLIENT_SECRET = "your-client-secret"
schema = pa.schema( [ ("device_name", pa.large_utf8()), ("temp", pa.int32()), ("humidity", pa.int64()), ] )
sdk = ZerobusSdk(SERVER_ENDPOINT, DATABRICKS_WORKSPACE_URL) stream = sdk.create_arrow_stream(TABLE_NAME, schema, CLIENT_ID, CLIENT_SECRET)
try: batch = pa.record_batch( { "device_name": ["sensor-1"], "temp": [22], "humidity": [60], }, schema=schema, ) stream.ingest_batch(batch) stream.flush() finally: stream.close()```What happens in this code:
- Defines the Arrow schema matching the target Delta table.
- Initializes the Zerobus SDK pointing to the endpoint and workspace.
- Creates an Arrow stream and ingests a record batch.
- Flushes the stream to ensure durability and closes it.### Limitations and requirementsGenerally available (GA). Each individual row inside a
RecordBatchmust fit within the 10 MB limit, while overall batches can be larger. Arrow fields must match the target Delta table schema's relative order, nullability, and types.
- lakeflow connect
- zerobus ingest
- apache arrow
- arrow flight
- streaming
Apache Arrow support for Zerobus Ingest is now generally available
Resumo e explicação gerados por IA a partir da release note oficial. Em caso de dúvida, a documentação oficial da plataforma prevalece.
Relacionadas
- DatabricksGA
Repositórios de pacotes em nível de workspace para Databricks Apps
Administradores de workspace podem configurar repositórios padrão de pacotes Python e npm para Databricks Apps.
databricks apps · workspace settings - DatabricksGA
Redimensione partições de stateful streaming sem perder o checkpoint no Databricks
Agora é possível alterar o número de partições de shuffle em queries Structured Streaming e pipelines Lakeflow sem descartar o estado do checkpoint.
structured streaming · lakeflow - DatabricksAtualização
Google Gemini 4 Argon disponível no Unity Gateway do Databricks
O modelo multimodal Google Gemini 4 Argon já pode ser acessado via Foundation Model APIs e Unity Gateway.
unity catalog · foundation model apis