Skip to content
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

[BUG] PIT table produces wrong ghost values #196

Open
klaus1978 opened this issue May 30, 2023 · 3 comments
Open

[BUG] PIT table produces wrong ghost values #196

klaus1978 opened this issue May 30, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@klaus1978
Copy link

klaus1978 commented May 30, 2023

Hi *,
I am using V. 0.9.5 and built my first PITs with the macro. It seems that the ghost records are not created correctly.
As I am using md5 I would assume a Ghost record with 32 '0's, but the query uses e.g.
CAST('0000000000000000' AS BINARY(16)))

KR Klaus

AB#5359

@DVJocelynShannon
Copy link
Contributor

DVJocelynShannon commented Jun 1, 2023

Hi KR Klaus,

Thank you for this report, could I ask what platform you are working on?

Thanks, Jossy

@DVJocelynShannon
Copy link
Contributor

Hi,

Have you got ghost records enabled in your project?

The 16 0s is coming from the hard coded ghost record in the PIT macro rather than the ghost records feature, which you are correct should be 32 0s so this will be added to the backlog and updated.

Thank you for raising this!

@klaus1978
Copy link
Author

Hi Shannon,
ahh thanks. No I did not enable ghost records.
I tested that a few months ago, but this unfortunatelly does not seem to work on our end as we use a lot of weird field names that all would have to be quoted (manually) so I decided to add the ghost record manually.
There is a open bug from me regarding that as well:

#181

As a workaround I changed now all my ghost record entries to CAST('0000000000000000' AS BINARY(16))) - so this works, but to be honest, I am not sure if this could have a bad influence on the performance as CAST('00000000000000000000000000000000' AS BINARY(32))) would be correct...

Thank you
Klaus

@DVAlexHiggs DVAlexHiggs changed the title PIT table produces wrong ghost values [BUG] PIT table produces wrong ghost values May 15, 2024
@DVAlexHiggs DVAlexHiggs added the bug Something isn't working label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants