Skip to content

Conversation

durbrow
Copy link
Collaborator

@durbrow durbrow commented Oct 4, 2024

This code is not wrong. As far as KDB is concerned, it is correct. It is the same logic that KDBPathType uses, and KDBPathContents should match KDBPathType. But as far as I can tell, we have no files that are so old that KDBPathType would recognize them as pre-release tables.

@durbrow durbrow requested a review from aboshkin October 4, 2024 20:45
Copy link
Contributor

@aboshkin aboshkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lokks good to me. I understand this is not easy to test, but since you mentioned SRAO-316, maybe add an sra-info test on one of those old runs?

@durbrow
Copy link
Collaborator Author

durbrow commented Oct 5, 2024 β€’

The problem with the ones from the SRAO ticket is that KDB does not recognize them as pre-release tables. I thought they'd work for a test case but I was wrong. That's why I don't have a test case. :(

You can pass it or fail it. It is not testable (and neither is KDBPathType in this case). Maybe it's time to deprecate the concept of a pre-release KDB table.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants