File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -413,12 +413,14 @@ class HiveQuerySuite extends HiveComparisonTest with BeforeAndAfter {
413
413
createQueryTest(" select null from table" ,
414
414
" SELECT null FROM src LIMIT 1" )
415
415
416
- createQueryTest(" predicates contains an empty AttributeSet() references" ,
417
- """
418
- |SELECT a FROM (
419
- | SELECT 1 AS a FROM src LIMIT 1 ) table
420
- |WHERE abs(20141202) is not null
421
- """ .stripMargin)
416
+ test(" predicates contains an empty AttributeSet() references" ) {
417
+ sql(
418
+ """
419
+ |SELECT a FROM (
420
+ | SELECT 1 AS a FROM src LIMIT 1 ) table
421
+ |WHERE abs(20141202) is not null
422
+ """ .stripMargin).collect()
423
+ }
422
424
423
425
test(" implement identity function using case statement" ) {
424
426
val actual = sql(" SELECT (CASE key WHEN key THEN key END) FROM src" )
You can’t perform that action at this time.
0 commit comments