質問編集履歴
1
コードの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
```ここに言語を入力
|
10
10
|
|
11
|
-
sdf= sdf.withColumn("DATEDIFF_Timestamp-String", F.datediff(F.col('Timestamp_date').cast(TimestampType())
|
11
|
+
sdf= sdf.withColumn("DATEDIFF_Timestamp-String", F.datediff(F.col('Timestamp_date'), F.col('String_date').cast(TimestampType())))
|
12
12
|
|
13
13
|
```
|
14
14
|
|