You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alex Savitsky (JIRA)" <ji...@apache.org> on 2019/04/30 14:34:00 UTC

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

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)