Eric Chen

Results 41 issues of Eric Chen

In ion-java-cli's [design doc](https://github.com/amzn/ion-test-driver#standardized-cli), executable called `ion` while the build artifact of ion-java-cli is called `ion-java-cli.x.y.jar`. It would be good to rename it to ion.jar.

## Description ion-hive-serde IonBlob binary conversion currently returns the byte array’s reference in memory. It should returns at least a text representation of the Ion Blob value. ## Reproduction One...

bug

Given an Ion file ```ion {next_date: "2022-09-06"} ``` and a schema ``` CREATE EXTERNAL TABLE test( `next_date` date ) ... ``` `ion-hive-serde` will throw an error `com.amazon.ion.impl.lite.IonStringLite cannot be cast...

We now opened two inputStream in ionInputFormat. one for [binary check](https://github.com/amzn/ion-hive-serde/blob/master/serde/src/main/java/com/amazon/ionhiveserde/formats/IonInputFormat.java#L101) and another for [reader](https://github.com/amzn/ion-hive-serde/blob/master/serde/src/main/java/com/amazon/ionhiveserde/formats/IonInputFormat.java#L105). [PushbackInputStream](https://docs.oracle.com/javase/7/docs/api/java/io/PushbackInputStream.html) seems improve this.

enhancement

This issue was raised in https://github.com/amzn/ion-hive-serde/pull/59#discussion_r733256794 In ion-hive-serde, we are using an ion struct to store values fetched from a path extractor because of: 1. We need a key-value store...

Issue was raised https://github.com/amzn/ion-hive-serde/pull/59#discussion_r733971888 In a case insensitive decorator, `containsKey(fieldName)` returns true once it finds `fieldName` ignoring cases while `remove(fieldName)` is not. So it's possible `struct.containsKey("foo") == true` while `struct.remove("foo")`...

The Ion path extraction APIs currently return all values that match a certain extractor, but the serde currently only chooses one. ``` # ion file { id:"user1", other_ids: [{ id:...

enhancement

Sometimes Ion keys are dynamic values that are not known during table creation. ### Example: Example Ion Doc: values "aaaaaaa" and "bbbbbbbb" would be unknown to user at table creation...

enhancement

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...

enhancement

When we use the binary reader to read a NULL symbol and then call the `ion_reader_read_null` api, it will fail with **`IERR_INVALID_STATE`**.

bug