Skip to main content

Rockset SQL REPL for `rock sql`

Project description

This package includes an interactive SQL REPL that can be invoked by running rock sql without any arguments:

  • Depends on the main rockset module to be already installed.

  • rock-sql command line utility to interact, manage and operate Rockset from a shell command line.

  • Once installed rock-sql can also be invoked by simply running rock sql.

Rockset documentation is available at: http://docs.rockset.com

Attribution

The rock sql REPL is heavily derived from the https://github.com/dbcli/pgcli project. Our sincere gratitude and admiration to the authors and contributors of that project.

Release Notes

  • 0.7.18-beta.20200724

    • add support for editing collections without first calling retrieve

  • 0.7.12-beta.20200519

    • update version type for Query Lambdas

  • 0.7.6-beta.20200422

    • add MongoDB support for the rock CLI

  • 0.7.5-beta.20200421

    • add support for creating MongoDB collections and integrations

  • 0.6.35-beta.20200303

    • add additional support for Query Lambdas and update client models

  • 0.6.33-beta.20200131

    • add basic support for Query Lambdas

  • 0.6.32-beta.20200116

    • fix query builder to support workspaces correctly

  • 0.6.24-beta.20191202

    • map Rockset DATE, TIME, DATETIME, TIMESTAMP and MICROSECOND INTERVAL data types to Python’s corresponding datetime types.

    • add patch_docs() API to collections to update any documents in a collection atomically without having to reingest the entire document.

    • improved SQLAlchemy support

    • improved support for Apache Superset

  • 0.6.17-beta.20191026

    • fix bug: do not automatically check for updates in rockset.version()

  • 0.6.16-beta.20191013

    • moved rock sql interactive REPL to a new Python package rockset_sqlcli

  • 0.6.0-beta.20190617

    • move from cloud-level integrations to service-level integrations: DynamoDB, GCS, Kinesis, Redshift, S3

  • 0.5.33-beta.20190530

    • fixed Windows environment issue

  • 0.5.30-beta.20190517

    • add support for AWS Redshift

    • rock upload supports uploading multiple files

  • 0.5.23-beta.20190225

    • rock ls shows creation time and size of collection

    • Better error handling

    • Add support for Workspaces

  • 0.5.15-beta.20190124

    • Update User-Agent value passed in API request header

  • 0.5.14-beta.20190121

    • Add support for Google Cloud Storage

  • 0.5.13-beta.20190117

    • SQLAlchemy enhancements to support Apache Superset

  • 0.5.10-beta.20190114

    • Added support for AWS External ID as a new type of integration.

    • Added support for prefix and pattern as parameters under rs.Source.s3()

    • Deprecated rs.Source.s3(…prefixes=[…]). This is still supported but it’s recommended that you move to using prefix as soon as possible.

    • Fixed bug in rock upload to use current working directory.

  • 0.5.9-beta.20190104

    • Add support for Amazon DynamoDB data source

    • Replace rock add with rock upload

  • 0.5.6-beta.20181210

    • Support for creating collections from XML data files

  • 0.5.0-beta.20181107

    • First beta release

    • Add support for kinesis data source

    • Better error messages when an account reaches resource limit

    • REST API over swagger_client instead of bravado

  • 0.4.3-alpha.20181003-3eaa5c7cc7

    • Support for field masks.

    • Support for slow rollout of leaves based on healthz checks

  • 0.4.3-alpha.20180916+57afbae46a

    • Support for creating collections from csv data files

  • 0.4.2-alpha.20180910+cf9c623a49

    • Support for creating collections using integrations

    • Improved help text for rock create workflows

  • 0.4.1-alpha.20180822+e806a29bab

    • Support for event time data and data retention during collection creation.

    • Changes to rock create collection … commandline to improve readability

    • rock drop … is now rock drop collection …

    • rock describe … is now rock describe collection …

  • 0.4.0-alpha.20180515+ecbe2a0

    • Moved to new /org/{org} REST API

    • Add SQL support that is accessible from rock sql

    • Field _id defines the unique identified for a document (:id deprecated)

    • Field _meta captures all other system generated fields in documents (:collection etc deprecated)

  • 0.3.0-alpha.20180314+410b55e

    • Add py query builder support for <, <=, > and >= operators for string values

  • v0.3.0-alpha.20180206+168be7d

    • Add F.collect() support to accumulate entire parent documents as part of a bucket aggregation

  • v0.3.0-alpha.20171206+7debcb7

    • Add collect aggregate function to support bucket aggregations

    • Add support for F.count() to do equivalent of count(*)

  • v0.3.0-alpha.20171121+d8c7961

    • Sensitive fields can now be masked or anonymized, when collections are created from AWS S3. See rock help create collection for more details.

    • AWS S3 bucket path prefixes can be provided to create a collection from only a subset of data in an AWS S3 bucket.

    • Support Parquet file format for loading data into collections.

  • v0.3.0-alpha.20170919+49e62f5

    • Simpler REST API 0.3

    • Add fence API and write APIs returning commit markers

    • Add View creation progress indicator to describe view API

    • More user-friendly error messages and Python exception strings

    • Enforce and document various system-wide limits

  • v0.2.2-alpha.20170824+dff8385

    • Support for next version of api_key and got rid of api_secrets

    • Added support for adding multiple documents in single API call

    • Added rockset.source to better support managing S3 sources while creating collections and collection sources while creating views.

    • Better client support for views with multiple analyzer mappings

    • py/client supports async_requests to have multiple concurrent queries pending

    • Support for sampling queries and queries on nested documents

    • Backend: better query optimization support

  • v0.2.1-alpha.20170707+88ab952

    • Added support for views

  • v0.2.1-alpha.20170629+4492c9a

    • py/client now respects HTTP_PROXY and HTTPS_PROXY ENV variables

  • v0.2.1-alpha.20170629+7b050f5

    • Fix bug that made limit queries not composable

  • v0.2.1-alpha.20170628+303f256

    • Added cursors with automatic pagination support

    • Added support for limit & skip queries

  • v0.2.1-alpha.20170624+e6aee25

    • Added support for lookup operator for JOINs

    • Auth token auto refresh will support long lived Client() objects

  • v0.2.1-alpha.20170615+f3df06e

    • Parallel aggregations for faster performance

    • Aggregation support for nested fields

    • Aggregation support over large data sets

    • Rewrote backend service discovery to make it elastic

    • User friendly messages for all py/client exceptions

  • v0.1.1-alpha

    • First alpha release

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rockset_sqlcli-0.7.18b20200724.tar.gz (51.6 kB view details)

Uploaded Source

Built Distribution

rockset_sqlcli-0.7.18b20200724-py3-none-any.whl (380.1 kB view details)

Uploaded Python 3

File details

Details for the file rockset_sqlcli-0.7.18b20200724.tar.gz.

File metadata

  • Download URL: rockset_sqlcli-0.7.18b20200724.tar.gz
  • Upload date:
  • Size: 51.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.9

File hashes

Hashes for rockset_sqlcli-0.7.18b20200724.tar.gz
Algorithm Hash digest
SHA256 dae5288f4622e148c35058fef0306fe19497dd595ad2a407a8a795df958e4ff5
MD5 d0845393d13dcacf7d2f711de35aabe8
BLAKE2b-256 7aaa2da621df024cb6438d96cbaf2020c759913003d1db6c584c2f0126e7fb14

See more details on using hashes here.

File details

Details for the file rockset_sqlcli-0.7.18b20200724-py3-none-any.whl.

File metadata

  • Download URL: rockset_sqlcli-0.7.18b20200724-py3-none-any.whl
  • Upload date:
  • Size: 380.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.9

File hashes

Hashes for rockset_sqlcli-0.7.18b20200724-py3-none-any.whl
Algorithm Hash digest
SHA256 04d304aada401103cc84912cbcae4d2a4a3f6a7dc18592cbf58491679615b11e
MD5 0c8419c1e25cd9b0dbc9fff903a6bf8a
BLAKE2b-256 9c6382f53b0946cbd167ee4c70b77f1e70025945ae323d14d1f890436f31acbd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page