-
Notifications
You must be signed in to change notification settings - Fork 72
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
NET HyperAPI write wrong value to hyper file #109
Comments
Hello! |
Hello. Thanks for you reply. For you suggested way to call inserter.Execute(), actually we cannot modify the application code to try another way. So we have to solve this problem. For ExtractHyper, it is a API provided by TableauHyperAPI, it looks like start the hyperd.exe program and we can access the hyper file via this program. For Table classes, it is also are Tableau API which can write data to hyper file via DllImport method.
And from my latest analysis, this problem can simply to below and we can reproduce this problem with a simple way:
Here's the sample code:
Here's the screenshot show you the details: |
The |
It looks like you are running the ExtractAPI 2.0, which is deprecated for over 4 years now. The hyper version you showed is 7 years old. We fixed hundreds of bugs since then. I would highly recommend to move over to the Hyper API. |
Thanks Jonas. I will try the latest version of HyperAPI. |
Dear Team,
I meet a inexplainable problem with TableHyperApi(Tableau_DataExtractHyper_DotNet.dll, version 1.0.21.0). Could you please give me some suggestions how can I fix the problem? Thanks so much.
I'm using below code(C#,NET Framework4.6.1) to create a hyper file and trying to write data from a DataReader. I promise the data in DataReader is absolutely correct. There're data in DataReader is just show as below:
However, the data are written to hyper file is just show as below:
You can see that the String value are empty and the integer value is not the same with original value. But, this issue only occurs on one server, for another one it works fine and the data in hyper file are correct(both these two servers have the same configuration and software installed, include vistual C++ redistributable version). And on my own personal computer, it also works fine. So currently I don't what happened for this server, hope you can share me any solution or suggestions, thanks.
The text was updated successfully, but these errors were encountered: