Commit bc595ea
committed
Allowing omitting the "T" separator from a datetime string
Our customers have issue using spark to create a dataframe on a
datetime column, because spark interpolates the provided datetime
string, but drops the "T" separator when filling the range.
It seems that omitting the "T" character is fairly acceptable, and
ISO 8601 does allow it to be omitted in a few cases. This is a
very simple patch to allow it.
Signed-off-by: Rivers Zhang <[email protected]>1 parent c986f00 commit bc595ea
3 files changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7202 | 7202 | | |
7203 | 7203 | | |
7204 | 7204 | | |
7205 | | - | |
| 7205 | + | |
7206 | 7206 | | |
7207 | 7207 | | |
7208 | 7208 | | |
| |||
7262 | 7262 | | |
7263 | 7263 | | |
7264 | 7264 | | |
7265 | | - | |
| 7265 | + | |
7266 | 7266 | | |
7267 | 7267 | | |
7268 | 7268 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments