InterpretedUnsafeProjection - error in getElementSize

2020-07-21 Thread Janda Martin
Hi, I think that I found error in InterpretedUnsafeProjection::getElementSize. This method differs from similar implementation in GenerateUnsafeProjection. InterpretedUnsafeProjection::getElementSize - returns wrong size for UDTs. I suggest to use similar code from GenerateUnsafeProjection.

AstBuilder: LATERAL VIEW OUTER?

2021-07-02 Thread Janda Martin
Hi, is OUTER implemented in AstBuilder for LATERAL VIEW? (latest master) Maybe I overlooked something. JOIN LATERAL is implemented. Martin - To unsubscribe e-mail: dev-unsubscr...@spark.apache.org

Regression? - UIUtils::formatBatchTime - [SPARK-46611][CORE] Remove ThreadLocal by replace SimpleDateFormat with DateTimeFormatter

2024-01-07 Thread Janda Martin
I think that [SPARK-46611][CORE] Remove ThreadLocal by replace SimpleDateFormat with DateTimeFormatter introduced regression in UIUtils::formatBatchTime when timezone is defined. DateTimeFormatter is thread-safe and immutable according to JavaDoc so method DateTimeFormatter::withZone