hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng Shao (JIRA)" <j...@apache.org>
Subject [jira] Created: (HIVE-658) Allow conversions from string to complex types
Date Tue, 21 Jul 2009 00:57:14 GMT
Allow conversions from string to complex types
----------------------------------------------

                 Key: HIVE-658
                 URL: https://issues.apache.org/jira/browse/HIVE-658
             Project: Hadoop Hive
          Issue Type: New Feature
          Components: Serializers/Deserializers
            Reporter: Zheng Shao


Assuming the format of representing complex types in string, we should be able to convert
strings to complex types.

This can happen in several cases:

1. Serializing a string into a column of a table which is complex-typed.
2. Sending a string into a UDF/GenericUDF which accepts complex types.
3. User explicitly do type casting using syntax like CAST(mystring AS array<int>)

We should assume a default format (maybe JSON, or maybe ^A, ^B, ^C format).

This makes it easier for people to produce complex types from their transform scripts.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message