Commit ff55f2c
fix: remove unsupported timestamp_ntz cast tests and fix date_format test
- Remove cast tests for TimestampNTZType to LongType (Spark doesn't support)
- Remove cast tests for numeric types and BinaryType to TimestampNTZType
(Spark doesn't support these casts)
- Fix date_format timestamp_ntz test by using UTC timezone explicitly
(Comet interprets timestamp_ntz as UTC during cast, which differs from
Spark's session timezone behavior for non-UTC timezones)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 2e468e6 commit ff55f2c
2 files changed
Lines changed: 16 additions & 57 deletions
File tree
- spark/src/test/scala/org/apache/comet
Lines changed: 2 additions & 49 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1038 | 1038 | | |
1039 | 1039 | | |
1040 | 1040 | | |
1041 | | - | |
1042 | | - | |
1043 | | - | |
1044 | | - | |
1045 | 1041 | | |
1046 | 1042 | | |
1047 | 1043 | | |
| |||
1055 | 1051 | | |
1056 | 1052 | | |
1057 | 1053 | | |
1058 | | - | |
1059 | | - | |
1060 | | - | |
1061 | | - | |
1062 | | - | |
1063 | | - | |
1064 | | - | |
1065 | | - | |
1066 | | - | |
1067 | | - | |
1068 | | - | |
1069 | | - | |
1070 | | - | |
1071 | | - | |
1072 | | - | |
1073 | | - | |
1074 | | - | |
1075 | | - | |
1076 | | - | |
1077 | | - | |
1078 | | - | |
1079 | | - | |
1080 | | - | |
1081 | | - | |
1082 | | - | |
1083 | | - | |
1084 | | - | |
1085 | | - | |
1086 | | - | |
1087 | | - | |
1088 | | - | |
1089 | | - | |
1090 | | - | |
1091 | | - | |
1092 | | - | |
1093 | | - | |
1094 | | - | |
1095 | | - | |
1096 | | - | |
1097 | | - | |
| 1054 | + | |
| 1055 | + | |
1098 | 1056 | | |
1099 | 1057 | | |
1100 | 1058 | | |
| |||
1103 | 1061 | | |
1104 | 1062 | | |
1105 | 1063 | | |
1106 | | - | |
1107 | | - | |
1108 | | - | |
1109 | | - | |
1110 | | - | |
1111 | 1064 | | |
1112 | 1065 | | |
1113 | 1066 | | |
| |||
Lines changed: 14 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
188 | 194 | | |
189 | 195 | | |
190 | 196 | | |
| |||
0 commit comments