You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "LuciferYang (via GitHub)" <gi...@apache.org> on 2026/09/27 19:45:47 UTC
[I] Full-text search returns nothing instead of scanning raw data when no full-text index exists [paimon]
LuciferYang opened a new issue, #10285:
URL: https://github.com/apache/paimon/issues/10285
### Search before asking
- [X] I searched in the [issues](https://github.com/apache/paimon/issues) and found no similar issues.
### Paimon version
master (1.5-SNAPSHOT)
### Compute Engine
Spark / Flink full-text search over a data-evolution table (with `paimon-full-text`).
### Minimal reproduce step
1. Create a data-evolution table with a full-text-indexed column.
2. Write data but do not build the full-text index (index building is a separate commit from data writes), or query after the index has expired.
3. Run a full-text search in FULL or DETAIL mode.
### What doesn't meet your expectations?
The search returns zero rows instead of scanning the raw data. In `DataEvolutionFullTextScan`, the raw-data compensation split (for rows not covered by a full-text index) is gated on `if (!fullTextIndexFiles.isEmpty())`, so when no index exists the compensation is skipped and the plan is empty. `unindexedRanges` would correctly return the whole row-id space (FULL) or the data-file ranges (DETAIL). FAST mode is correctly empty.
### Anything else?
There is also a read-side `checkNotNull` on a null index type that would NPE once the scan-side gate is removed; the raw fallback index type needs to resolve to the built-in `full-text` type.
### Are you willing to submit a PR?
- [X] I'm willing to submit a PR!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Full-text search returns nothing instead of scanning raw data when no full-text index exists [paimon]
Posted by "LuciferYang (via GitHub)" <gi...@apache.org>.
LuciferYang closed issue #10285: Full-text search returns nothing instead of scanning raw data when no full-text index exists
URL: https://github.com/apache/paimon/issues/10285
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org