ccaominh commented on a change in pull request #8355: Fix result of division
may be truncated
URL: https://github.com/apache/incubator-druid/pull/8355#discussion_r316876609
##########
File path: examples/bin/dsql-main
##########
@@ -57,15 +58,15 @@ def do_query(url, sql, context, timeout, user,
ignore_ssl_verification, ca_file,
query_context = context
elif int(context.get('timeout', 0)) / 1000 < timeout:
query_context = context.copy()
- query_context['timeout'] = timeout * 1000;
+ query_context['timeout'] = timeout * 1000
sql_json = json.dumps({'query' : sql, 'context' : query_context})
# SSL stuff
- ssl_context = None;
- if (ignore_ssl_verification or ca_file != None or ca_path != None):
+ ssl_context = None
Review comment:
Thanks for fixing!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]