ion-rust icon indicating copy to clipboard operation
ion-rust copied to clipboard

Using SharedSymbolTable with reader or writer (or Element)

Open kanru opened this issue 11 months ago • 2 comments

Hi, I'm evaluating using ion-rs as data storing format. I've used ion-java before and really liked the symbol table design. It seems currently ion-rs does not expose the method to configure shared symbol tables used for writing. There are some tests for using catalog for reading, but it seems the high-level API is also not public.

Do you plan to support symbol tables? IMO this would make ion-rs a more complete implementation of the ion spec.

kanru avatar Jan 18 '25 12:01 kanru

Hi! You're right, shared symbol tables work on the read side, but aren't yet exposed on the writer side. We do intend to support this eventually, but the work is not yet scheduled. If you'd be interested in trying to implement it, I'd be happy to sketch out what it should look like.

zslayton avatar Jan 27 '25 21:01 zslayton

Hi, I'm interested. Though it would need 1 to 2 months until I wrap up a project I'm working on.

kanru avatar Jan 27 '25 23:01 kanru