You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2020/10/08 11:59:56 UTC

[GitHub] [druid] josephglanville opened a new issue #10493: Avro Union type support

josephglanville opened a new issue #10493:
URL: https://github.com/apache/druid/issues/10493


   ### Description
   
   Avro unions should be supported for ingestion into Druid, currently only the specific form `[null, someOtherType]` is supported and is treated as a form of nullable.
   
   I propose having Druid explode unions at ingestion time via the flattener interface into nested paths accessible by the union member type name. i.e If I have the following Avro schema:
   ```
   {
     "name" : "union",
     "type" : [ "null", "string", "boolean", "float", "int" ]
   }
   ```
   Then I should be able to access each of the member types as `union.typeName`, i.e: `union.string`, `union.boolean`, `union.float` and `union.int` in this case.
   
   ### Motivation
   
   This will expand Druid's Avro support to cover the full spec as of right now there is valid Avro that can't be meaningfully ingested into Druid without pre-processing to remove unions.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] clintropolis closed issue #10493: Avro Union type support

Posted by GitBox <gi...@apache.org>.
clintropolis closed issue #10493:
URL: https://github.com/apache/druid/issues/10493


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org