Github user chenghao-intel commented on a diff in the pull request:

    https://github.com/apache/spark/pull/4926#discussion_r26013144
  
    --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/hive/UDFSuite.scala 
---
    @@ -32,5 +32,6 @@ class UDFSuite extends QueryTest {
         assert(sql("SELECT RANDOM0() FROM src LIMIT 1").head().getDouble(0) >= 
0.0)
         assert(sql("SELECT RANDOm1() FROM src LIMIT 1").head().getDouble(0) >= 
0.0)
         assert(sql("SELECT strlenscala('test', 1) FROM src LIMIT 
1").head().getInt(0) === 5)
    +    assert(sql("SELECT current_database()").head().getString(0) === 
"default")
    --- End diff --
    
    `SELECT` clause without `FROM` HiveQL seems not supported. Can you confirm 
if it pass the unit test in your local?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to