@spark-connect-js/connect
v0.4.0
Published
Generated TypeScript types and service stubs from Spark Connect protobuf definitions
Downloads
194
Maintainers
Readme
@spark-connect-js/connect
Generated TypeScript types and service definitions from the Spark Connect protobuf spec. Internal to the @spark-connect-js packages; most users don't install this directly.
Note: This project is in early development (v0.4.0) and is not recommended for production usage, but feedback is very welcome on GitHub.
If you're building an application against Spark Connect, use @spark-connect-js/node. This package is what node and @spark-connect-js/core use internally to encode and decode the wire protocol.
Install
npm install @spark-connect-js/connectUsage
import { Plan, Relation, Expression, DataType, SparkConnectService } from "@spark-connect-js/connect";Types are regenerated from the protobuf definitions in the Apache Spark source tree using buf.
Single runtime dependency: @bufbuild/protobuf.
Documentation
Full docs at prustic.github.io/spark-connect-js.
