- Add profiler repair and retry handling for failed generated profiling SQL.
- Add synthesis result types, including
SynthesisRoundandSynthesisRunResult. - Add iterative synthesis with default history output and exploration result feedback.
- Add unit and integration coverage for synthesis and repaired profiling execution.
- Stabilize profiling query execution integration coverage with deterministic DuckDB SQL.
- Feed exploration query evidence back into follow-up synthesis prompts.
- Add
DatabaseProfileResultfor packaging whole-database profiling output. - Add profiler logging for query generation, query execution, table profiling, and database profiling.
- Add unit and integration coverage for database profiling and parallel profiler execution.
- Execute generated profiling queries in parallel while preserving result order.
- Profile database tables in parallel while preserving table order.
- Avoid logging prompts, SQL text, natural-language questions, and row payloads from profiler workflows.
- Change the project license from MIT to Apache License 2.0.
- Add typed SQL query and query result models, including prompt-readable result rendering.
- Add query execution support to
DatabaseConnector. - Add database type metadata to
Databaseschemas. - Add table profile result models and end-to-end table profiling from generated queries through executed evidence.
- Move profiling query outputs onto the shared SQL query model shape.
- Make semantic linking optional for profiling while preserving the unknown-role fallback.
- Require
Profilerto be initialized with aDatabaseso profiling prompts can use the database type.
- Add table profiling APIs with structured
ProfilingQueriesoutputs. - Add prompt support for rendering target-table columns in profiler instructions.
- Add unit and integration coverage for profiling prompt construction and output shape.
- Limit profiler policy context to generic critical rules and add single-table query guidance.
- Add MIT licensing metadata and a root
LICENSEfile. - Add a
snowflakeoptional dependency extra backed bysnowflake-sqlalchemy. - Add README documentation for supported SQLAlchemy database types.
- Generalize
DatabaseConnectorURL construction for SQLAlchemy dialects while keeping BigQuery project resolution. - Remove noisy test debug printing from database-related tests.
- Clean up the dual-pathway pruning notebook example by centralizing model, database, and question configuration.
- Strip cached notebook outputs from the pruning example.
- Clarify in the README that
DatabaseConnectorcurrently supports BigQuery. - Add a
DatabaseConnectorTODO to research Apache Arrow ADBC connectors.
- Add a Jupyter notebook example for dual-pathway pruning with OpenAI and BigQuery.
- Add an
examplesoptional dependency extra for notebook kernels. - Add pre-commit notebook output stripping with
nbstripout.
- Add
.ipynb_checkpoints/to.gitignore. - Add
pre-commitandnbstripoutto the development dependency group. - Simplify the README planning description.
- Add
Prunerwith positive preservation, negative deletion, and dual-pathway schema pruning flows. - Add pruning selection types:
PruningColumns,PreservationColumns,PreservationSet,DeletionColumns, andDeletionSet. - Add
Database.subtract(),Database.union(), andDatabase.export_as_string()helpers for composing pruned schemas. - Add
LogicalPlan.export_as_string()for including compact plan context in pruning prompts. - Add integration coverage for preservation, deletion, and dual-pathway pruning.
- Add unit coverage for database schema subtraction and union behavior.
- Export pruning APIs from the root
pigletspackage. - Document dual-pathway pruning in the README.
- Add
sqlalchemy-bigqueryto the test dependency group used by BigQuery integration tests.
- Add
DatabaseConnectorfor inspecting BigQuery database schemas. - Add typed database schema models:
Database,Table, andColumn. - Add the
bigqueryoptional dependency extra for installing BigQuery SQLAlchemy support.
- Export
DatabaseConnectorfrom the rootpigletspackage. - Document BigQuery connector installation, configuration, and schema inspection in the README.
- Add
.envto.gitignorefor local database credentials and configuration.
- Add
AggregatePlan.sample_plansso aggregated logical plans retain their source candidate plans. - Add optional dependency extras for additional LangChain model providers.
- Thread
model_providerthrough planner and aggregate model initialization. - Document provider extras and the
sample_plansaggregate-plan attribute in the README.
- Update
LogicalPlanner.plan()to support multi-sample planning withnum_samples. - Replace
parallel_plan()documentation and tests with the unifiedplan(..., num_samples=...)API.
- Ensure multi-sample planning generates individual candidate plans before aggregating them.
- Add
LogicalPlans.aggregate()for combining multiple logical plan candidates into one plan.
- Use Pydantic models for logical planner structured outputs.
- Return
LogicalPlanandLogicalPlansmodel objects from planner APIs. - Combine the public planner API around
LogicalPlanner.plan(..., num_samples=...).
- Replace unsupported
list[str]structured-output schemas with aLogicalStepsschema.
- Add README installation and
LogicalPlanner.parallel_planusage examples.
- Correct README instructions for installing the
openaioptional dependency group.
- Add
LogicalPlanner.parallel_planfor generating multiple logical plans concurrently. - Document the logical planner's relationship to the Apex-SQL paper.
- Move logical planner integration coverage under
tests/integration. - Strengthen parallel logical planner test assertions.
- Include
logical_planner.mdin packaged distributions soLogicalPlannercan load its prompt after installation from PyPI.
- Run only unit tests in the publish workflow before building and publishing the package.
Initial public alpha release of piglets.
- Initial package structure for the
pigletstext-to-SQL toolkit. - First planning primitive:
LogicalPlanner. LogicalPlantyped output for structured logical planning steps.- Prompt-driven logical planning flow for turning natural-language analytics questions into abstract plan steps.
- Integration test coverage for the logical planning flow.
- Packaging metadata for distribution on PyPI with
uv.lockchecked in for reproducible development.
- This is a pre-1.0 release and the API is expected to change.
- Current focus is logical planning for analytics/text-to-SQL workflows.