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

Unsupported Range index types should fail with table validation #14431

Open
jadami10 opened this issue Nov 12, 2024 · 1 comment
Open

Unsupported Range index types should fail with table validation #14431

jadami10 opened this issue Nov 12, 2024 · 1 comment

Comments

@jadami10
Copy link
Contributor

I got this error when segments were trying to seal

[2024-11-12 19:13:15.648954] java.lang.RuntimeException: Unsupported data type TIMESTAMP for range index
[2024-11-12 19:13:15.648973] 	at org.apache.pinot.segment.spi.index.creator.CombinedInvertedIndexCreator.add(CombinedInvertedIndexCreator.java:53

This is indeed unsupported, https://github.com/apache/pinot/blob/master/pinot-segment-spi/src/main/java/org/apache/pinot/segment/spi/index/creator/CombinedInvertedIndexCreator.java#L53, but it's not clear to me why it fails after the table is created

@Jackie-Jiang
Copy link
Contributor

I think this is a bug. Range index should be applicable to TIMESTAMP type

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

No branches or pull requests

2 participants