Steve Severance created ZEPPELIN-2763:
-----------------------------------------

             Summary: Can't Import java.sql.Timestamp
                 Key: ZEPPELIN-2763
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2763
             Project: Zeppelin
          Issue Type: Bug
          Components: Interpreters
    Affects Versions: 0.7.0, 0.7.3
         Environment: Reproduced on both HDP 2.6.0.3 and in a unit test.
            Reporter: Steve Severance
            Priority: Critical


I cannot import java.sql.Timestamp or other types from the same package with 
the Spark 2.0 interpreter. You can test with the following code:

%spark2
import java.sql.Timestamp

case class Test(foo: Timestamp)

It returns:
import java.sql.Timestamp
<console>:11: error: not found: type Timestamp
       case class Test(foo: Timestamp)

It works fine with the spark 1 interpreter. I can provide additional details 
and test cases if need be.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to