Skip to content

Conversation

trueleo
Copy link
Contributor

@trueleo trueleo commented Sep 25, 2022

Description

Registering table with register_listing_table uses the listing feature of the object store to find the files to be processed. Internally this call ListingTable::list_files_for_scan in datafusion which panics when table path is empty. This code change is similar to how query works for s3.


This PR has:

  • been tested to ensure log ingestion and log query works.
  • added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
  • added documentation for new or modified features or behaviors.

Registering table with `register_listing_table` uses the listing feature of the
object store to find the files to be processed. Internally this call
`ListingTable::list_files_for_scan` in datafusion which panics when
table path is empty. This code change is similar to how query works for s3.
@nitisht nitisht marked this pull request as ready for review September 26, 2022 11:52
@nitisht nitisht merged commit 63b7ffa into parseablehq:main Sep 26, 2022
@trueleo trueleo deleted the cache_execute branch September 26, 2022 12:59
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