> On April 27, 2020, 8:58 p.m., Jesús Camacho Rodríguez wrote:
> > ql/src/test/results/clientpositive/llap/special_character_in_tabnames_1.q.out
> > Lines 1024 (patched)
> > <https://reviews.apache.org/r/72403/diff/5/?file=2227935#file2227935line1024>
> >
> >     Can we use count on top of the column for these queries in the q tests? 
> > Maybe we can even count the nulls with a case statement?
> >     I think the testing coverage will be similar but the size of these 
> > files will be more manageable.
> 
> Krisztian Kasa wrote:
>     I think these files are big not just because the big result sets but the 
> number a statements.
>     Since the purpose of these tests is testing the parser I suggest moving 
> the majority of them to unit tests like TestParseDriver and that would run 
> faster. In that case only the parsing phase would be executed and we still 
> have tests like quotedid_basic_standard.q for end-to-end testing.
>     What do you think?

We can do that too. However we need to make sure there is enough test coverage 
for those special characters in other modules, e.g., in metastore side, etc. If 
you think that is the case, moving them makes sense. As they are now, it is 
very difficult to spot/debug any issue.


- Jesús


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72403/#review220506
-----------------------------------------------------------


On April 29, 2020, 11:46 a.m., Krisztian Kasa wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/72403/
> -----------------------------------------------------------
> 
> (Updated April 29, 2020, 11:46 a.m.)
> 
> 
> Review request for hive and Jesús Camacho Rodríguez.
> 
> 
> Bugs: HIVE-19064
>     https://issues.apache.org/jira/browse/HIVE-19064
> 
> 
> Repository: hive-git
> 
> 
> Description
> -------
> 
> Add mode to support delimited identifiers enclosed within double quotation
> 
> 
> Diffs
> -----
> 
>   common/src/java/org/apache/hadoop/hive/conf/HiveConf.java b3faf050f1 
>   itests/src/test/resources/testconfiguration.properties 48ecc3526e 
>   
> itests/util/src/main/java/org/apache/hadoop/hive/cli/control/CliConfigs.java 
> 1c0c62fb13 
>   parser/pom.xml 18e0ad801d 
>   
> parser/src/java/org/apache/hadoop/hive/ql/parse/ANTLRNoCaseStringStream.java 
> PRE-CREATION 
>   parser/src/java/org/apache/hadoop/hive/ql/parse/GenericHiveLexer.java 
> PRE-CREATION 
>   parser/src/java/org/apache/hadoop/hive/ql/parse/HiveLexer.g 23f74ba05e 
>   parser/src/java/org/apache/hadoop/hive/ql/parse/HiveLexerParent.g 
> PRE-CREATION 
>   parser/src/java/org/apache/hadoop/hive/ql/parse/HiveLexerStandard.g 
> PRE-CREATION 
>   parser/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g b03b0989b8 
>   parser/src/java/org/apache/hadoop/hive/ql/parse/Quotation.java PRE-CREATION 
>   
> ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/add/AlterViewAddPartitionAnalyzer.java
>  c1d2887ec8 
>   ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DummyTxnManager.java 
> 7820013ab0 
>   ql/src/java/org/apache/hadoop/hive/ql/lockmgr/HiveLockObject.java 
> 08aeeb2acd 
>   ql/src/java/org/apache/hadoop/hive/ql/metadata/HiveUtils.java 26c7a606bf 
>   
> ql/src/java/org/apache/hadoop/hive/ql/parse/ColumnStatsAutoGatherContext.java 
> 9bcc472a62 
>   
> ql/src/java/org/apache/hadoop/hive/ql/parse/ColumnStatsSemanticAnalyzer.java 
> 35f7ec674a 
>   ql/src/java/org/apache/hadoop/hive/ql/parse/ParseDriver.java 48c0a4a8ad 
>   ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java 
> 0de3730351 
>   ql/src/java/org/apache/hadoop/hive/ql/stats/BasicStatsTask.java 6eb1ca2645 
>   ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFCastFormat.java 
> 81540ba8c1 
>   ql/src/test/org/apache/hadoop/hive/ql/metadata/TestHiveUtils.java 
> PRE-CREATION 
>   
> ql/src/test/org/apache/hadoop/hive/ql/parse/TestReplicationSemanticAnalyzer.java
>  81ab01d301 
>   
> ql/src/test/org/apache/hadoop/hive/ql/udf/generic/TestGenericUDFCastFormat.java
>  9afd5af2be 
>   ql/src/test/queries/clientnegative/database_create_invalid_name.q 
> 5d6749542b 
>   ql/src/test/queries/clientpositive/quotedid_basic.q cb718f091c 
>   ql/src/test/queries/clientpositive/quotedid_basic_standard.q PRE-CREATION 
>   ql/src/test/queries/clientpositive/special_character_in_tabnames_1.q 
> 08df0d803c 
>   ql/src/test/queries/clientpositive/special_character_in_tabnames_quotes_1.q 
> PRE-CREATION 
>   ql/src/test/queries/clientpositive/special_character_in_tabnames_quotes_2.q 
> PRE-CREATION 
>   ql/src/test/results/clientnegative/database_create_invalid_name.q.out 
> 4b2cd1e41b 
>   
> ql/src/test/results/clientpositive/llap/special_character_in_tabnames_1.q.out 
> PRE-CREATION 
>   
> ql/src/test/results/clientpositive/llap/special_character_in_tabnames_quotes_1.q.out
>  PRE-CREATION 
>   
> ql/src/test/results/clientpositive/llap/special_character_in_tabnames_quotes_2.q.out
>  PRE-CREATION 
>   ql/src/test/results/clientpositive/quotedid_basic.q.out 1ea9c8d886 
>   ql/src/test/results/clientpositive/quotedid_basic_standard.q.out 
> PRE-CREATION 
>   ql/src/test/results/clientpositive/special_character_in_tabnames_2.q.out 
> b1a808a805 
>   
> standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java
>  9ce0085b0c 
>   
> standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreUtils.java
>  62f5773f9b 
>   
> standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
>  7bba8d6ee6 
>   
> standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/TestHiveMetaStore.java
>  3f04abe47a 
>   
> standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestDatabases.java
>  30042aee14 
>   
> standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestTablesCreateDropAlterTruncate.java
>  6d82d794ca 
> 
> 
> Diff: https://reviews.apache.org/r/72403/diff/6/
> 
> 
> Testing
> -------
> 
> mvn test -Dtest.output.overwrite -DskipSparkTests -Dtest=TestCliDriver 
> -Dqfile=quotedid_basic_standard.q,quote2.q,crtseltbl_serdeprops.q -pl 
> itests/qtest -Pitests
> 
> mvn test -Dtest.output.overwrite -DskipSparkTests 
> -Dtest=TestMiniLlapLocalCliDriver 
> -Dqfile=special_character_in_tabnames_quotes_1.q,special_character_in_tabnames_quotes_2.q,special_character_in_tabnames_1.q,special_character_in_tabnames_2.q
>  -pl itests/qtest -Pitests
> 
> 
> Thanks,
> 
> Krisztian Kasa
> 
>

Reply via email to