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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址