Skip to content

Implement Query Directory Parsing #13

@goodwillpunning

Description

@goodwillpunning

Currently, parsing a local directory for query files remains a marked TODO item in the source code. The logic for this feature is as follows:

  • If a local directory is provided either as a parameter to the Benchmark constructor or explicitly set using the .setQueryDir() function, then
  • All files in the local directory should be listed
  • All files in the local directory should be filtered to include only files with a .sql extension
  • The filtered list of files should be parsed into a global list of queries and headers
  • The headers should be validated to be unique across the entire set

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions