# filemode='w', format='%(levelname)-7s %(asctime)s %(message)s', datefmt='%H:%M:%S') # Connect to the sqalpel.io webserver for the real work sqalpel = Sqalpel(args) # Run the baseline queries locally for testing # This may require to set ranges for variables if args.ticket == 'local': if not args.repository: logging.error(f'Missing repository URL') exit(-1) # process the queries in the repository config = Repository.get_experiments(args.repository) if not config or 'experiments' not in config: logging.error(f'Invalid experiment configuration {args.repository}') exit(-1) experiments = config['experiments'] results = [] task = {'db': args.db, 'dbms': args.dbms, 'host': args.host, 'params': '', 'options': '{"runlength":1}'} for q in experiments: task.update({'query': q['source']}) task.update({'xname': q['name']})