[ 
https://issues.apache.org/jira/browse/SPARK-52770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Toth reassigned SPARK-52770:
----------------------------------

    Assignee: Peter Toth

> Support `TIME` type in `toConnectProtoType`
> -------------------------------------------
>
>                 Key: SPARK-52770
>                 URL: https://issues.apache.org/jira/browse/SPARK-52770
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Connect, SQL
>    Affects Versions: 4.1.0
>            Reporter: Dongjoon Hyun
>            Assignee: Peter Toth
>            Priority: Major
>              Labels: pull-request-available
>
> {code}
> $ bin/spark-connect-shell --remote sc://localhost:15002
> Welcome to
>       ____              __
>      / __/__  ___ _____/ /__
>     _\ \/ _ \/ _ `/ __/  '_/
>    /___/ .__/\_,_/_/ /_/\_\   version 4.1.0-preview1
>       /_/
> Type in expressions to have them evaluated.
> Spark connect server version 4.1.0-preview1.
> Spark session available as 'spark'.
> scala> sql("SELECT TIME '12:13:14'").show()
> +---------------+
> |TIME '12:13:14'|
> +---------------+
> |       12:13:14|
> +---------------+
> scala> sql("SELECT TIME '12:13:14'").collect()
> org.apache.spark.SparkException: 
> org.apache.spark.sql.connect.common.InvalidPlanInput: [INTERNAL_ERROR] Does 
> not support convert time(6) to connect proto types. SQLSTATE: XX000
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to