Skip to content

How do I actually get started using this tool? #3

Description

@dhalperi

I followed the instructions in the README.md, they were easy. However, it is not obvious what to do once the command will execute on the command line...

Here's my attempt to load the existing SDSS query log into the database: qwla sdss consume workloadanalysis/ProcessedQueries_sdss.csv -v -d sqlite:///sdss.db

Output: Imported 1 of 1 (workloadanalysis/ProcessedQueries_sdss.csv)

However, it does not seem to have done anything to the DB:

% sqlite3 sdss.db 
SQLite version 3.7.13 2012-07-17 17:46:21
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> .schema
CREATE TABLE everything (
    id INTEGER NOT NULL, 
    PRIMARY KEY (id)
);
sqlite> select * from everything;
sqlite>
query-workload-analysis % ls -l *.db
-rw-r--r-- 1 dhalperi staff 2048 Jul 30 17:06 sdss.db

So, it seems like it did not actually put any data in the database. What am I doing wrong?

FYI: @domoritz @shrjain @7andrew7

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions