Closed Capital-de-dev closed 5 months ago
Our release notes are confusing... We should fix that.
Hyper API is now able to read and operate on 128 bit numerics. I.e., if you get a 128 bit numeric e.g. from a Parquet file, you can use normal arithmetic on it. But before you store it into a Hyper file
However, there is not yet any Hyper file format version which allows you to write 128 bit numerics. Such a new file format version is already lined up to ship very soon :)
However, you also have another problem: There is not yet any Tableau version which is able to read 128 bit numerics from Hyper files... Soon 🙂
(Leaving this issue open until we fix our release notes, such that it can be found by others running into this, too)
@vogelsgesang Thank you for this answer, helped us a lot! Do we have an ETA for a version which will support writing 128 bit numerics into a Hyper file?
@vogelsgesang any updates about the version which will support writing 128 bit numeric to Hyper file?
In fact, there already is a database version 3, similar to the other database versions documented in https://tableau.github.io/hyper-db/docs/hyper-api/hyper_process#databasesettings This database version has been there for a long time already.
Hyper itself would be ready, you can already write database files with 128-bit numerics. The problem is rather: Will Tableau be able to open them? Afaik, more up-to-date versions of Tableau should already be able to do so...
We added documentation for file format 3. The documentation will be published as part of the next Hyper API release. In the meantime, you can take a sneak peak at it in https://github.com/tableau/hyper-db/pull/93/files
Thanks for the details, Could you please confirm hyperd version whichever supports 128 bit decimal and we re running tableau servers version as 2023.1.1
Quoting from the PR linked above:
The database file format version
3
is supported by Tableau Desktop 2022.4.1 and Server 2023.1 and newer product versions. It is supported by Tableau Prep 2022.4.1 and newer versions
Does this answer your question?
Sorry for the confusion what is the Hyped file version which is used for creating hyperprocess instance. Thaks Raju
On Mon, Apr 22, 2024, 3:07 PM Adrian Vogelsgesang @.***> wrote:
Quoting from the PR linked above:
The database file format version 3 is supported by Tableau Desktop 2022.4.1 and Server 2023.1 and newer product versions. It is supported by Tableau Prep 2022.4.1 and newer versions
Does this answer your question?
— Reply to this email directly, view it on GitHub https://github.com/tableau/hyper-api-samples/issues/81#issuecomment-2070862621, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE7CDCVCURYVZCKPWODYYALY6VUX7AVCNFSM6AAAAAAUBWQ436VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZQHA3DENRSGE . You are receiving this because you commented.Message ID: @.***>
Sorry, I don't understand the question.
The hyper file version used to create the HyperProcess instance only influences the files written by that Hyper process.
When it comes to reading (and I assume you are asking about which Tableau versions will be able to read those Hyper files?), then the file format version set as the default_database_version
has no influence on whether Hyper can read this file or not
Tableau provided hyperd.exe for widows and hyperd for Linux so that we can create hyper process in java code and create hyper file. My question version if hyperd instance will allow us to create hyperfile with 128but decimal and publish it to tableau server2023.1.1. Hope my question is clear. Thanks in advance. Regards, Raju
On Mon, Apr 22, 2024, 3:55 PM Adrian Vogelsgesang @.***> wrote:
Sorry, I don't understand the question.
The hyper file version used to create the HyperProcess instance only influences the files written by that Hyper process.
When it comes to reading (and I assume you are asking about which Tableau versions will be able to read those Hyper files?), then the file format version set as the default_database_version has no influence on whether Hyper can read this file or not
— Reply to this email directly, view it on GitHub https://github.com/tableau/hyper-api-samples/issues/81#issuecomment-2070936996, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE7CDCQYMNPKBPAA25ZVF33Y6V2MTAVCNFSM6AAAAAAUBWQ436VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZQHEZTMOJZGY . You are receiving this because you commented.Message ID: @.***>
Thanks by setting the default_database_version:3 helped in publishing 128 bit data where as when I am doing the append it is failing..is this option supported. Thanks & Regards Raju
On Mon, Apr 22, 2024 at 6:46 PM raju vadali @.***> wrote:
Tableau provided hyperd.exe for widows and hyperd for Linux so that we can create hyper process in java code and create hyper file. My question version if hyperd instance will allow us to create hyperfile with 128but decimal and publish it to tableau server2023.1.1. Hope my question is clear. Thanks in advance. Regards, Raju
On Mon, Apr 22, 2024, 3:55 PM Adrian Vogelsgesang < @.***> wrote:
Sorry, I don't understand the question.
The hyper file version used to create the HyperProcess instance only influences the files written by that Hyper process.
When it comes to reading (and I assume you are asking about which Tableau versions will be able to read those Hyper files?), then the file format version set as the default_database_version has no influence on whether Hyper can read this file or not
— Reply to this email directly, view it on GitHub https://github.com/tableau/hyper-api-samples/issues/81#issuecomment-2070936996, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE7CDCQYMNPKBPAA25ZVF33Y6V2MTAVCNFSM6AAAAAAUBWQ436VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZQHEZTMOJZGY . You are receiving this because you commented.Message ID: @.***>
Currently we are encountering an issue if we publish a 128 bit hyperfile to Tableauserver2023.1 with override flag as false, can you confirm starting from which version of tableau server this option is supported.Thanks in advance. Regards, Raju
On Mon, Apr 29, 2024 at 9:13 PM raju vadali @.***> wrote:
Thanks by setting the default_database_version:3 helped in publishing 128 bit data where as when I am doing the append it is failing..is this option supported. Thanks & Regards Raju
On Mon, Apr 22, 2024 at 6:46 PM raju vadali @.***> wrote:
Tableau provided hyperd.exe for widows and hyperd for Linux so that we can create hyper process in java code and create hyper file. My question version if hyperd instance will allow us to create hyperfile with 128but decimal and publish it to tableau server2023.1.1. Hope my question is clear. Thanks in advance. Regards, Raju
On Mon, Apr 22, 2024, 3:55 PM Adrian Vogelsgesang < @.***> wrote:
Sorry, I don't understand the question.
The hyper file version used to create the HyperProcess instance only influences the files written by that Hyper process.
When it comes to reading (and I assume you are asking about which Tableau versions will be able to read those Hyper files?), then the file format version set as the default_database_version has no influence on whether Hyper can read this file or not
— Reply to this email directly, view it on GitHub https://github.com/tableau/hyper-api-samples/issues/81#issuecomment-2070936996, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE7CDCQYMNPKBPAA25ZVF33Y6V2MTAVCNFSM6AAAAAAUBWQ436VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZQHEZTMOJZGY . You are receiving this because you commented.Message ID: @.***>
Thanks by setting the default_database_version:3 helped in publishing 128 bit data where as when I am doing the append it is failing..is this option supported.
A database file is always using the version which was set during the original creation time of that file. To upgrade to a new version, you need to create a new Hyper file and copy over all your tables from the old file. See https://github.com/tableau/hyper-api-samples/blob/main/Community-Supported/convert-hyper-file/convert_hyper_file.py for an example of how to do so from Python
[...] if we publish a 128 bit hyperfile to Tableauserver2023.1 with override flag as false,
which exact API call are you using?
we are using url=String.format(,overrise=false); restTemplate.exchange(url,HTTPMethod.post,ent,String.class)); Please let me know if you need more information.
On Tue, Apr 30, 2024 at 8:05 AM Adrian Vogelsgesang < @.***> wrote:
[...] if we publish a 128 bit hyperfile to Tableauserver2023.1 with override flag as false,
which exact API call are you using?
— Reply to this email directly, view it on GitHub https://github.com/tableau/hyper-api-samples/issues/81#issuecomment-2085285805, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE7CDCUXDWFHCU6FJC7UI3DY76JKVAVCNFSM6AAAAAAUBWQ436VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBVGI4DKOBQGU . You are receiving this because you commented.Message ID: @.***>
we are using url=String.format(,append=true); restTemplate.exchange(url,HTTPMethod.post,ent,String.class)); Please let me know if you need more information.
On Tue, Apr 30, 2024 at 8:50 AM raju vadali @.***> wrote:
we are using url=String.format(,overrise=false); restTemplate.exchange(url,HTTPMethod.post,ent,String.class)); Please let me know if you need more information.
On Tue, Apr 30, 2024 at 8:05 AM Adrian Vogelsgesang < @.***> wrote:
[...] if we publish a 128 bit hyperfile to Tableauserver2023.1 with override flag as false,
which exact API call are you using?
— Reply to this email directly, view it on GitHub https://github.com/tableau/hyper-api-samples/issues/81#issuecomment-2085285805, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE7CDCUXDWFHCU6FJC7UI3DY76JKVAVCNFSM6AAAAAAUBWQ436VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBVGI4DKOBQGU . You are receiving this because you commented.Message ID: @.***>
I have no idea which Tableau REST API your two source code lines are using. Please provide a self-contained repro
Hi, I think we now know the problem tableau (2023.1 .1) is failing to open the hyperfile uploaded with default_database_version=3 as it has been published with append=true for merging in another hyper file previously published as override=true and default database.version =3 meaning tableau server having issue in merging to hyper files having default_database_version=3.Appreciate any help in overcoming this issue .
Thanks in Advance. Raju
On Tue, Apr 30, 2024 at 10:18 AM Adrian Vogelsgesang < @.***> wrote:
I have no idea which Tableau REST API your two source code lines are using. Please provide a self-contained repro
— Reply to this email directly, view it on GitHub https://github.com/tableau/hyper-api-samples/issues/81#issuecomment-2085629170, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE7CDCSM26EPADAU3Z6NIL3Y76Y3JAVCNFSM6AAAAAAUBWQ436VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBVGYZDSMJXGA . You are receiving this because you commented.Message ID: @.***>
Run:
Output: