You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Facets: test_facets_first_give_the_same_facets saw source "scan" where "index" was expected, once on Linux Python 3.11 (JVM lane) #461
bugSomething isn't workingenhancementNew feature or requestgithub_actionsPull requests that update GitHub Actions codein progressThe team is actively working on this issuejvmThe arcadedb-jvm package (JPype build)pythonPull requests that update python code
tests/test_result_set_facets.py::TestResultSetFacets::test_facets_first_give_the_same_facets failed once on main in the JVM lane on Linux, Python 3.11, at ab482ac (the merge of #391, which does not touch facets): run 45078466171. The two results of the test differ only in source of the category terms facet: one says scan where the other, and the expected value, say index. The buckets and counts shown are the same. The next two runs on main (adad563, a62613f) were green.
I have not reproduced it. It is the same kind of symptom as the docs example of #310, which printed a count of 3 instead of 6 once in CI and not in 350 fresh databases: a facet answered from the scan path where the COLUMNAR index was expected. What I do not know is whether the engine chooses between the index and the scan by something that varies (an index that is not yet readable right after the load, a statistics threshold), or whether the test reads the facets before the index is ready.
What I will do: read the engine's choice between the index and the scan for a FACETS query, and if it can vary for the same data, file it upstream with a Java repro. Until then the red runs of the full tier can be linked here.
I read the test and the guide again, and this is a test that was too strict, not an engine problem. The test reads the facets before any row and compares them with the facets read after the rows. Its own comment says the projection can lag, and the facets guide says a count is read together with its source and meta: a facet is answered from the index once the projection has caught up and from a scan before, both are correct, and tests/test_columnar_index.py already accepts either source. The failing run had the same buckets on both sides and only source differed. #462 compares what the two results count and leaves source and meta out. The count of 3 instead of 6 in #310 is a different symptom (a count, not a source), and I am still watching for it.
bugSomething isn't workingenhancementNew feature or requestgithub_actionsPull requests that update GitHub Actions codein progressThe team is actively working on this issuejvmThe arcadedb-jvm package (JPype build)pythonPull requests that update python code
Activity
tae898 commentedon Nov 23, 2026
I read the test and the guide again, and this is a test that was too strict, not an engine problem. The test reads the facets before any row and compares them with the facets read after the rows. Its own comment says the projection can lag, and the facets guide says a count is read together with its
sourceandmeta: a facet is answered from the index once the projection has caught up and from a scan before, both are correct, andtests/test_columnar_index.pyalready accepts either source. The failing run had the same buckets on both sides and onlysourcediffered. #462 compares what the two results count and leavessourceandmetaout. The count of 3 instead of 6 in #310 is a different symptom (a count, not a source), and I am still watching for it.