Github user adrian-wang commented on the pull request:

    https://github.com/apache/spark/pull/2344#issuecomment-55349736
  
    The last thing here is to enable `date_udf.q`. Currently there are two 
issues:
    1. PR #2355 `org.apache.hadoop.hive.serde2.io.DateWritable` got two 
constructors take one parameter, one is `int` and the other `java.sql.Date`, 
would both be int `primitiveTypes` and cause random failure when call this in a 
function.
    2. Have to figure out how to enable `datediff(TimestampType, ...)`, 
currently this would lead to a `scala.Matcherror` because it seems try to cast 
`TimestampType` to `TimestampType` in `ConstantFolding`, still looking why this 
is not solved in `SimplifyCasts`.


---
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