sqlpar

command module
v0.0.0-...-56ee609 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2020 License: MIT Imports: 10 Imported by: 0

README

sqlpar

Use sql to query parquet file

    ./sqlpar -file test.parquet

    >> select user_id, age from test_schema where age > 1 limit 2
    user_id  age
    abc      12
    def      33

    ./sqlpar -file test.parquet -sql 'select user_id, age from test_schema where age > 1 limit 2'
    user_id  age
    abc      12
    def      33

Features

  • Basic select statement
  • Where clause support AND, OR, NOT, operators: >, >=, <, <=, =, !=, <>
  • Limit clause
  • show table statement
  • [] Order by clause
  • [] Column As syntax
  • [] Support nest column
  • [] Group by clause
  • [] Aggregate function
  • [] Column function
  • [] Export result as csv

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL