Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-25453

OracleIntegrationSuite IllegalArgumentException: Timestamp format must be yyyy-mm-dd hh:mm:ss[.fffffffff]

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0
    • Tests
    • None

    Description

      - SPARK-22814 support date/timestamp types in partitionColumn *** FAILED ***
      
        java.lang.IllegalArgumentException: Timestamp format must be yyyy-mm-dd hh:mm:ss[.fffffffff]
      
        at java.sql.Timestamp.valueOf(Timestamp.java:204)
      
        at org.apache.spark.sql.execution.datasources.jdbc.JDBCRelation$.toInternalBoundValue(JDBCRelation.scala:183)
      
        at org.apache.spark.sql.execution.datasources.jdbc.JDBCRelation$.columnPartition(JDBCRelation.scala:88)
      
        at org.apache.spark.sql.execution.datasources.jdbc.JdbcRelationProvider.createRelation(JdbcRelationProvider.scala:36)
      
        at org.apache.spark.sql.execution.datasources.DataSource.resolveRelation(DataSource.scala:318)
      
        at org.apache.spark.sql.DataFrameReader.loadV1Source(DataFrameReader.scala:223)
      
        at org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:211)
      
        at org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:167)
      
        at org.apache.spark.sql.jdbc.OracleIntegrationSuite$$anonfun$18.apply(OracleIntegrationSuite.scala:445)
      
        at org.apache.spark.sql.jdbc.OracleIntegrationSuite$$anonfun$18.apply(OracleIntegrationSuite.scala:427)
      
        ...

      Attachments

        Issue Links

          Activity

            People

              seancxmao Chenxiao Mao
              yumwang Yuming Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: