Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Chong Gao committed Mar 16, 2022
1 parent ff9f405 commit 6e55cd4
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,7 @@ object GpuTypeShims {
}

/**
* Whether this Shim supports convert this type to GPU Scalar
* @param t
* Whether the Shim supports converting the given type to GPU Scalar
*/
def supportToScalarForType(t: DataType): Boolean = {
t match {
Expand All @@ -130,6 +129,9 @@ object GpuTypeShims {
}
}

/**
* Convert the given value to Scalar
*/
def toScalarForType(t: DataType, v: Any) = {
t match {
case _: DayTimeIntervalType => v match {
Expand Down

0 comments on commit 6e55cd4

Please sign in to comment.