hellonarrativ / spectrify

Export Redshift data and convert to Parquet for use with Redshift Spectrum or other data warehouses.
https://aws.amazon.com/blogs/big-data/narrativ-is-helping-producers-monetize-their-digital-content-with-amazon-redshift/
MIT License
116 stars 25 forks source link

issue with cli command #40

Closed bapi24 closed 5 years ago

bapi24 commented 6 years ago

Description

Trying to get started with spectrify with command line tool

trying to perform the following:

Unload the table to s3 bucket Properly encode the data into Parquet files in s3 bucket Create a table of the same name in the spectrum schema in my Redshift cluster

What I Did

I am trying to use the command-line tool to get started:


spectrify –host=example-url.redshift.aws.com –user=myuser –db=mydb transform my_table 's3://example-bucket/my_table'
``
![image](https://user-images.githubusercontent.com/11890901/45907677-ba74aa80-bdad-11e8-95a8-19bafff9eaf2.png)
bapi24 commented 6 years ago

spectrify-git-issue

bapi24 commented 6 years ago

spec 2

c-nichols commented 5 years ago

Hi @bapi24 it looks like you might be using a single dash or a smart dash before some of the parameters. Make sure you use 2 dashes. To construct the command, I suggest pasting one of the examples from the readme into Atom or another code editor, modifying that to use your host, etc., and then paste into terminal.