Open StuartMiddleton opened 9 months ago
@StuartMiddleton Thanks for reporting this. And sorry for the late response. I'm embarrassed to come back to this after 3 months...
Do you have more information to give, like in which database did you encounter this?
@stumelius It was some time ago, so my memory of the details are hazy. However, I recall that it was an internal database and the scenario was very simple and straight forwards. The tables used a surrogate key as the primary, which was a hash of one-or-more other fields. As soon as we tried to run dbt-profiler against a table with a hashed field, the above error was thrown.
I'm sure that it will be easily repeatable using the standard hash function against any test dataset.
@StuartMiddleton Thanks for the additional info, I think I get the gist now. Like you said, it should be straightforward to reproduce this error.
Are you still working with the profiler? Would you be interested in contributing a fix? :)
@stumelius I'm not against doing a fix, but it's very dependent upon my workload (which at present is high). So, I'm willing, but may not be able.
I feel you. I'm in a similar boat...
Let's leave this here for now and when either of us has the bandwidth, we'll get back to it
As title indicates, the use of a hash generates a value overflow. Switching to MD5 runs fine.