Skip to content

Commit

Permalink
Remove empty lines
Browse files Browse the repository at this point in the history
  • Loading branch information
ttnghia committed Nov 14, 2024
1 parent 5755e7f commit cbf4499
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,10 @@ object GpuJsonReadCommon {
options: JSONOptions): ColumnVector = {
ColumnCastUtil.deepTransform(inputCv, Some(topLevelType),
Some(nestedColumnViewMismatchTransform)) {

case (cv, Some(DateType)) if cv.getType == DType.STRING =>
convertStringToDate(cv, options)

case (cv, Some(TimestampType)) if cv.getType == DType.STRING =>
convertStringToTimestamp(cv, options)

case (cv, Some(dt)) if cv.getType == DType.STRING =>
// There is an issue with the Schema implementation such that the schema's top level
// is never used when passing down data schema from Java to C++.
Expand Down Expand Up @@ -180,10 +177,8 @@ object GpuJsonReadCommon {
withResource(new NvtxRange("convertDateTimeType", NvtxColor.RED)) { _ =>
ColumnCastUtil.deepTransform(inputCv, Some(topLevelType),
Some(nestedColumnViewMismatchTransform)) {

case (cv, Some(DateType)) if cv.getType == DType.STRING =>
convertStringToDate(cv, options)

case (cv, Some(TimestampType)) if cv.getType == DType.STRING =>
convertStringToTimestamp(cv, options)
}
Expand Down

0 comments on commit cbf4499

Please sign in to comment.