From 7ffbd1c8cab1a0e936e479cc7acc01b525a6cdff Mon Sep 17 00:00:00 2001 From: Mingxun Wang Date: Sun, 13 Aug 2023 22:33:41 -0700 Subject: [PATCH] fixing commandline --- massql/msql_cmd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/massql/msql_cmd.py b/massql/msql_cmd.py index 16187f3..8a441ab 100644 --- a/massql/msql_cmd.py +++ b/massql/msql_cmd.py @@ -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') @@ -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