Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type Specific Extraction #57

Open
cheqianh opened this issue Sep 23, 2021 · 0 comments
Open

Type Specific Extraction #57

cheqianh opened this issue Sep 23, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@cheqianh
Copy link
Contributor

Currently, Ion-hive-serde will throw an error to notify users when writing an unexpected type value into the hive table.

E.g.

Example Table DDL
CREATE EXTERNAL TABLE example_ion_table(
   name: string
)

# Example Ion file with 2 documents. Document 2 will cause the extraction to fail.
{name: "ion_doc_1"}
{name: 2}

# Path Extractors
ion.name.path_extractor = ( name )

# Table retrieves
|  name: string  |  
------------------------------------------
| "ion_doc_1"    | 
| ERROR          | 
@cheqianh cheqianh added the enhancement New feature or request label Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant