Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(vector): Add error logic to DictionaryVector's toString for loggi…
…ng uninitialized lazy loaded vectors (#12025) Summary: Problem: There exists a blindspot in DictionaryVector's toString function, where lazy-loaded or otherwise unitialized vectors will be properly logged when calling toString, but may fail downstream elsewhere like during an expression eval because, although the logging suggests it was loaded, it was never properly initialized. Solution: After discussing with Wei and Bikram, we should add logic to confirm the vector is loaded before and error out with a detailed error message before any string creating done. This will notify the user the vector is not-loaded and should be properly loaded before any logging is done. Added additional test function to VectorTest class to cover this case. (fixes #10594) Differential Revision: D67870420
- Loading branch information