File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -492,7 +492,8 @@ class SQLViewSuite extends QueryTest with SQLTestUtils with TestHiveSingleton {
492492 val permanentFuncName = " myUpper"
493493 val permanentFuncClass =
494494 classOf [org.apache.hadoop.hive.ql.udf.generic.GenericUDFUpper ].getCanonicalName
495- val builtInFuncName = " abs"
495+ val builtInFuncNameInLowerCase = " abs"
496+ val builtInFuncNameInMixedCase = " aBs"
496497 val hiveFuncName = " histogram_numeric"
497498
498499 withUserDefinedFunction(permanentFuncName -> false ) {
@@ -506,7 +507,8 @@ class SQLViewSuite extends QueryTest with SQLTestUtils with TestHiveSingleton {
506507 |CREATE $viewMode view1
507508 |AS SELECT
508509 | $permanentFuncName(str),
509- | $builtInFuncName(id),
510+ | $builtInFuncNameInLowerCase(id),
511+ | $builtInFuncNameInMixedCase(id) as aBs,
510512 | $hiveFuncName(id, 5) over()
511513 |FROM tab1
512514 """ .stripMargin)
You can’t perform that action at this time.
0 commit comments