Skip to content

Commit

Permalink
fixing commandline
Browse files Browse the repository at this point in the history
  • Loading branch information
mwang87 committed Aug 14, 2023
1 parent e3fabf8 commit 7ffbd1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions massql/msql_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def main():
parser.add_argument('--output_file', default=None, help='output results filename, if filename is too long will truncate filename')
parser.add_argument('--parallel_query', default="NO", help='YES to make it parallel with ray locally, NO is default')

parser.add_argument('--cache', default="YES", help='YES to cache with feather, YES is the default')
parser.add_argument('--cache', default=None, help='feather cache with feather, no cachine is the default')
parser.add_argument('--cache_filename', default=None, help='Path to explicit cache filename, must have cache set to YES')
parser.add_argument('--cache_dir', default=None, help='Path to cache directory, must have cache set to YES. Mutually exclusive to cache_filename. Additionally, caching filename will automatically be hashed')

Expand Down Expand Up @@ -61,7 +61,7 @@ def main():
for i, query in enumerate(all_queries):
results_df = msql_engine.process_query(query,
args.filename,
cache=(args.cache == "YES"),
cache=args.cache,
parallel=PARALLEL)

results_df["query_index"] = i
Expand Down

0 comments on commit 7ffbd1c

Please sign in to comment.