[ https://issues.apache.org/jira/browse/SPARK-26994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16781314#comment-16781314 ]
Hyukjin Kwon commented on SPARK-26994: -------------------------------------- Can't you just define one function for this conversion? I don't think we should add automatic conversion logic into {{StructField}}. Those conversions should happen via SQL expression and APIs. > Enhance StructField to accept number format or date format > ---------------------------------------------------------- > > Key: SPARK-26994 > URL: https://issues.apache.org/jira/browse/SPARK-26994 > Project: Spark > Issue Type: Improvement > Components: Spark Core, SQL > Affects Versions: 2.4.0 > Reporter: Murali Aakula > Priority: Major > > Enhance StructField to accept number format or date format and Enahcne > reader/steramreader and writer/streamwriter to use these formats. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org