[
https://issues.apache.org/jira/browse/SPARK-51403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18043539#comment-18043539
]
Uroš Bojanić commented on SPARK-51403:
--------------------------------------
[~dongjoon] Please move this ticket back to
https://issues.apache.org/jira/browse/SPARK-51162 (Time SPIP umbrella).
> Test TimeType as ordered and atomic type
> ----------------------------------------
>
> Key: SPARK-51403
> URL: https://issues.apache.org/jira/browse/SPARK-51403
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 4.1.0
> Reporter: Max Gekk
> Priority: Minor
> Labels: starter
>
> Add `TimeType` to `DataTypeTestUtils.ordered`/`atomicTypes`, and implement
> values generation of those types in `LiteralGenerator`/`RandomDataGenerator`.
> In this way, the types will be tested automatically in:
> 1. ArithmeticExpressionSuite:
> - "function least"
> - "function greatest"
> 2. PredicateSuite
> - "BinaryComparison consistency check"
> - "AND, OR, EqualTo, EqualNullSafe consistency check"
> 3. ConditionalExpressionSuite
> - "if"
> 4. RandomDataGeneratorSuite
> - "Basic types"
> 5. CastSuite
> - "null cast"
> - "up-cast"
> - "SPARK-27671: cast from nested null type in struct"
> 6. OrderingSuite
> - "GenerateOrdering with TimeType"
> 7. PredicateSuite
> - "IN with different types"
> 8. UnsafeRowSuite
> - "calling get(ordinal, datatype) on null columns"
> 9. SortSuite
> - "sorting on TimeType ..."
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]