You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Yordan Pavlov (Jira)" <ji...@apache.org> on 2020/11/28 17:52:00 UTC

[jira] [Updated] (ARROW-10759) [Rust][DataFusion] Implement support for casting string to date in sql expressions

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

Yordan Pavlov updated ARROW-10759:
----------------------------------
    Description: 
If DataFusion had support for creating date literals using a cast expression such as 
 CAST('2019-01-01' AS DATE) this would allow a user-friendly way for direct (and therefore more efficient) comparison of date columns to scalar values (compared to representing dates as strings and then resorting to string comparison).
 I already have a basic implementation that works, just have to add some more tests.

  was:
If DataFusion had support for creating date literals using a cast expression such as 
CAST('2019-01-01' AS DATE) this would allow direct (and therefore more efficient) comparison of date columns to scalar values (compared to representing dates as strings and then resorting to string comparison).
I already have a basic implementation that works, just have to add some more tests.


> [Rust][DataFusion] Implement support for casting string to date in sql expressions
> ----------------------------------------------------------------------------------
>
>                 Key: ARROW-10759
>                 URL: https://issues.apache.org/jira/browse/ARROW-10759
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Rust - DataFusion
>    Affects Versions: 2.0.0
>            Reporter: Yordan Pavlov
>            Priority: Major
>
> If DataFusion had support for creating date literals using a cast expression such as 
>  CAST('2019-01-01' AS DATE) this would allow a user-friendly way for direct (and therefore more efficient) comparison of date columns to scalar values (compared to representing dates as strings and then resorting to string comparison).
>  I already have a basic implementation that works, just have to add some more tests.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)