pantab icon indicating copy to clipboard operation
pantab copied to clipboard

feature/choose-hyper-version

Open davidsonhr1 opened this issue 1 year ago • 4 comments

A hyper file version support on hyperprocess

davidsonhr1 avatar May 24 '24 18:05 davidsonhr1

@davidsonhr1 Have you checked what happens if a version 2 writer attempts to write to an existing version 0 or version 1 hyper file?

jorwoods avatar May 24 '24 18:05 jorwoods

@davidsonhr1 Have you checked if a version 2 writer attempts to write to an existing version 0 or version 1 hyper file?

So far I have only tested with files that I use in my company and they are version 2, I have only tested the scenario of a 100% new file, but I can test other scenarios

davidsonhr1 avatar May 24 '24 18:05 davidsonhr1

How old is the version 2? I very loosely only have pantab supporting technologies that are 1.5 to 2 years max. If version 2 has been out that long, I would also be fine to make that the default value.

Of course still want to know a little bit more about what @jorwoods is asking - I would hate to change that value and break things for users that are appending to Hyper databases created with prior verions of pantab

WillAyd avatar May 24 '24 20:05 WillAyd

If it's fully backwards compatible, then defaulting to version 2 might be preferable.

jorwoods avatar May 24 '24 20:05 jorwoods

FWIW the newer releases of the Hyper API have forced us to upgrade to version 4 for single point precision support (see https://github.com/innobi/pantab/pull/313) so your more immediate need may be solved, but I still think this PR to help with general option setting would be a great addition!

WillAyd avatar Aug 17 '24 15:08 WillAyd

As it turns out, hyper versions are not backwards compatible. The most recent pantab version bumped to hyper version for to support numeric data and I think arm chips on Mac, but that has caused issues for tools that read older versions.

We probably need to keep the default version at 0 and warn when updating in the future? I'll see if Tableau can provide more clarity on this field as well

WillAyd avatar Sep 17 '24 16:09 WillAyd

Thanks for the PR! This has been superseded by https://github.com/innobi/pantab/pull/335 though

WillAyd avatar Sep 24 '24 20:09 WillAyd