Giter VIP home page Giter VIP logo

buoyant-data / spark-connect-rust Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 35.71 MB

Spark Connect client library in Rust

License: Apache License 2.0

Rust 0.02% Shell 0.37% Batchfile 0.04% R 1.87% CSS 0.07% Makefile 0.01% C 0.01% PowerShell 0.01% Java 7.31% Scala 67.77% Dockerfile 0.02% Python 15.53% JavaScript 0.32% HTML 0.08% Roff 0.03% Ruby 0.02% Jupyter Notebook 5.96% ANTLR 0.09% PLpgSQL 0.49% Thrift 0.01%
rust spark spark-sql spark-connect

spark-connect-rust's Introduction

Spark Connect for Rust

A Spark Connect client implementation in Rust. This repository provides both a Rust library for interacting with Spark Connect APIs and also a simple command line for sending Spark SQL commands to any Spark Connect endpoint.

Table of Contents

Building

Building can be done with cargo by invoking cargo build and cargo test

Using

CLI

The spark-connect-cli binary can be used to run Spark SQL commands against the Spark Connect server, for example:

% cargo run --bin spark-connect-cli
>> create temporary view people as select current_date();
+-------------+
| show_string |
+-------------+
| (0 rows)    |
|             |
+-------------+
>> select * from people;
+-------------------------------+
| show_string                   |
+-------------------------------+
| -RECORD 0-------------------- |
|  current_date() | 2023-07-06  |
|                               |
+-------------------------------+
>>

In Rust

Consult the Rustdocs for tips on how to use the library.

spark-connect-rust's People

Contributors

rtyler avatar

Stargazers

Glen Brown avatar Denny Lee avatar

Watchers

 avatar Denny Lee avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.