Skip to main content

feature-sql-tool

Current implementation of feature-sql-tool focused on:

  • recursive column resolution through CTEs and scope aliases
  • computed-vs-passthrough alias classification
  • intermediate feature extraction
  • filter_only_intermediate_features classification through graph reachability
  • multi-feature unified graph building
  • safe SQL optimization by merging features with identical logical query shape

Current scope

This package is a practical implementation scaffold with working core logic for:

  • scope parsing
  • recursive lineage for one feature
  • filter_only classification
  • safe grouping of multiple feature queries into shared aggregate CTEs when their WITH/FROM/JOIN/WHERE/GROUP/HAVING/QUALIFY signatures are identical

Notes

The optimizer intentionally uses safe reuse only. It merges features only when their normalized query shape matches exactly.

Optimized reusable-stage SQL builder (2.0.0)

Use FeatureSqlTool.build_optimized_unified_sql(features) to build unified SQL with reusable base and aggregate CTE stages when possible.

Metadata

Release files for feature-sql-tool 2.6.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for feature-sql-tool 2.6.2
File Size Uploaded Provenance Actions
feature_sql_tool-2.6.2.tar.gz 43.0 kB Without provenance Details for feature_sql_tool-2.6.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for feature-sql-tool 2.6.2
File Interpreter ABI Platform Actions
feature_sql_tool-2.6.2-py3-none-any.whl Python 3 none any Details for feature_sql_tool-2.6.2-py3-none-any.whl

Total release size: 97.8 kB

Release files / feature_sql_tool-2.6.2.tar.gz

Download URL feature_sql_tool-2.6.2.tar.gz
Size 43.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0617f46026fa260f32b9e0535335d2634e0a0b0b9d54230378e4baec05735ffb
BLAKE2b-256 checksum
How to use checksums
01c0779107f81a018e12e766b64676fcbf8eec43069e4e5119aaadc20ddf9688
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.6

Release files / feature_sql_tool-2.6.2-py3-none-any.whl

Download URL feature_sql_tool-2.6.2-py3-none-any.whl
Size 54.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
91d6a6c0acf217ee66688d5cf5fa1855842ffd168a103eb4f59f210e3207013b
BLAKE2b-256 checksum
How to use checksums
138f8260795f63b91df00b074eee7360faff059b16c7fb04e7e4187d95a2f5b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.6

Security for feature-sql-tool 2.6.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page