[jira] [Created] (IGNITE-11826) Unwrap Option[T] types for @QuerySqlField for known SQL types

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-11826) Unwrap Option[T] types for @QuerySqlField for known SQL types

Anton Vinogradov (Jira)
Alex Savitsky created IGNITE-11826:
--------------------------------------

             Summary: Unwrap Option[T] types for @QuerySqlField for known SQL types
                 Key: IGNITE-11826
                 URL: https://issues.apache.org/jira/browse/IGNITE-11826
             Project: Ignite
          Issue Type: Improvement
          Components: binary, sql
    Affects Versions: 2.7
            Reporter: Alex Savitsky


Currently, annotating an Option type with {{@QuerySqlField}} results in a DB column of type {{OTHER}}. It would be nice if known SQL types could be unwrapped from their optionals, so that, for example, {{@QuerySqlField name: Option[String]}} would result in a field of type {{VARCHAR}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)