superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] branch master updated: Remove super verbose `logging.debug` call (#7122)
Date Tue, 26 Mar 2019 15:42:19 GMT
This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 68d2880  Remove super verbose `logging.debug` call (#7122)
68d2880 is described below

commit 68d2880bce214a4fa7fcf6673c9717bde54ed3c2
Author: Maxime Beauchemin <maximebeauchemin@gmail.com>
AuthorDate: Tue Mar 26 08:42:13 2019 -0700

    Remove super verbose `logging.debug` call (#7122)
    
    I left this behind on a previous PR, and it gets kind of crazy on large
    SQL statements, so decided it's probably a good thing to clean this up.
---
 superset/sql_parse.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/superset/sql_parse.py b/superset/sql_parse.py
index 8076f09..2f65392 100644
--- a/superset/sql_parse.py
+++ b/superset/sql_parse.py
@@ -127,7 +127,6 @@ class ParsedQuery(object):
         table_name_preceding_token = False
 
         for item in token.tokens:
-            logging.debug(('  ' * depth) + str(item.ttype) + str(item.value))
             if item.is_group and not self.__is_identifier(item):
                 self.__extract_from_token(item, depth=depth + 1)
 


Mime
View raw message