Commit Graph

583 Commits

Author SHA1 Message Date
dal 33d5990907
feat(datasets): Add database_identifier support for dataset creation and deployment
- Extend Dataset model and schema to include optional database_identifier field
- Update dataset creation and deployment routes to handle new database_identifier parameter
- Modify dataset DDL generation to use database_identifier for schema resolution when available
2025-02-06 15:18:40 -07:00
dal c7a6e2788a
Merge branch 'staging' into dal/simplify-deploy-endpoint 2025-02-06 15:00:23 -07:00
github-actions[bot] 5e5ad5d3f7 chore(release): update version to 0.0.35 2025-02-06 21:11:01 +00:00
dal ba25ada7c1
Fix: snowflake timestamp bug
Staging
2025-02-06 13:10:49 -08:00
dal 77045a30c2
Merge pull request #107 from buster-so/dal/snowflake-timestamp-going-to-kill-me
fix(snowflake): Improve timestamp handling and JSON processing
2025-02-06 13:10:17 -08:00
dal 2ec0b7743f
feat(snowflake): Improve timestamp handling and JSON processing
- Add support for parsing Snowflake timestamp structs with epoch and fraction fields
- Implement handling of Snowflake timestamp logical types (with and without timezone)
- Enhance JSON value processing to detect and convert Snowflake timestamp objects
- Add error handling and logging for timestamp parsing
2025-02-06 14:09:39 -07:00
github-actions[bot] 8493db3abe chore(release): update version to 0.0.34 2025-02-06 19:59:59 +00:00
dal 80f82856b1
Merge pull request #106 from buster-so/staging
fix(visualization): add x axis time unit.
2025-02-06 11:59:45 -08:00
dal ef685d87a4
Fix x axis intervals (#105)
* xAxisTickinerval

* fix(visualization): Add x-axis time unit configuration for bar and combo charts

- Extend chart configuration to support optional x-axis time unit
- Update modify visualization agent to dynamically set x-axis time interval
- Modify bar line and combo chart prompts to include x_axis_time_unit parameter

* only use valid time units

* refactor(visualization): Simplify x-axis time unit configuration

- Modify modify_visualization_agent to extract and remove x-axis time unit more efficiently
- Update global styling result structure for x-axis time interval
- Adjust format_label_prompt comment to clarify date format default behavior

---------

Co-authored-by: Nate Kelley <nate@buster.so>
2025-02-06 11:58:25 -08:00
dal c27c27a7e8
fix: Improve column reference validation in model expression checks
- Update column validation to use model-defined columns instead of dataset columns
- Enhance error message to clarify column reference context
- Refine validation logic for expression column references
2025-02-06 10:46:12 -07:00
dal 2618166bf8
feat: Expand validation error types for more comprehensive deployment checks
- Add new validation error types: ModelNotFound, InvalidRelationship, and ExpressionError
- Update deploy_v2.rs to categorize and handle these new error types
- Enhance error handling and reporting in dataset deployment process
2025-02-05 23:56:41 -07:00
dal 4e2e9795b6
refactor: Simplify dataset deployment and validation process
- Restructure deploy_datasets function to separate concerns
- Improve column and relationship validation in dataset deployment
- Enhance error handling and validation result generation
- Add support for more comprehensive column and relationship checks
- Refactor validation logic to handle multiple error types
2025-02-05 23:42:51 -07:00
dal 08ecb44de1
Merge branch 'staging' into dal/simplify-deploy-endpoint 2025-02-05 21:56:45 -07:00
github-actions[bot] 4a085d9c23 chore(release): update version to 0.0.33 2025-02-06 04:56:13 +00:00
dal a69fa7c81a
Fix: Tweaked fix sql prompt to be json
Tweaked the fix sql to return a json output so we don't get parse err…
2025-02-05 20:56:00 -08:00
dal e144377ada
Tweaked the fix sql to return a json output so we don't get parse errors. 2025-02-05 21:55:19 -07:00
github-actions[bot] 0c290baccb chore(release): update version to 0.0.32 2025-02-06 01:25:31 +00:00
dal 6cb9c9cf5b
fix prompts with o3-mini
fix(prompts): Enhance SQL query generation and error handling instru…
2025-02-05 17:25:17 -08:00
dal b872cf63a4
feat(prompts): Enhance SQL query generation and error handling instructions
- Update failed SQL fix prompt to emphasize query output format
- Add clarification to dataset selector prompt about selecting multiple datasets
2025-02-05 18:24:34 -07:00
dal fa480f6797
feat: enhance column metadata retrieval across database sources
- Add support for capturing source type (table, view, materialized view)
- Improve column metadata queries for Postgres, MySQL, BigQuery, and Snowflake
- Include more comprehensive column information during dataset import
- Extend DatasetColumnRecord to include source_type field
2025-02-05 18:21:40 -07:00
dal 6e5c299389
feat: improve dataset column validation and deployment process
- Add comprehensive column validation before dataset deployment
- Validate existence of all required columns in source database
- Simplify column type and nullability retrieval
- Enhance error reporting for missing columns
- Update deployment logic to use pre-validated column information
2025-02-05 17:20:11 -07:00
dal f081f3e16e
feat: enhance dataset validation and deployment error handling
- Add detailed validation error logging in CLI
- Improve type compatibility checks in dataset validation
- Modify deployment process to handle and report validation errors more comprehensively
- Add Hash derive for Verification enum
- Update API and CLI to support more informative validation results
2025-02-05 17:04:13 -07:00
github-actions[bot] 23ca3a5b84 chore(release): update version to 0.0.31 2025-02-05 23:24:38 +00:00
dal bb100d4178
Fix: Search org id bug
Staging
2025-02-05 15:24:27 -08:00
dal 80d3662c3f
Merge pull request #101 from buster-so/dal/term_search_bug
Dal/term search bug
2025-02-05 15:23:49 -08:00
dal fb75c1f554
fix(search): Add organization_id filter to semantic and terms search queries 2025-02-05 16:23:24 -07:00
dal 7bcd7d81bc
make sure the output of fix sql is delimited 2025-02-05 16:19:23 -07:00
dal 3c82ac0774
feat: add dataset validation and improved deployment process 2025-02-05 15:00:52 -07:00
dal 66d9528619
refactor: deploy datasets much simpler now 2025-02-05 14:05:12 -07:00
dal cace5d438a
Merge branch 'staging' into dal/cli-release 2025-02-05 12:48:58 -07:00
github-actions[bot] dd00ec345f chore(release): update version to 0.0.30 2025-02-05 19:40:57 +00:00
dal e0da363f9b
bugfix: values search table format
fix the search value table
2025-02-05 11:40:44 -08:00
dal 2c7ef16956
fix the search value table 2025-02-05 12:30:51 -07:00
github-actions[bot] f2858b79fc chore(release): update version to 0.0.29 2025-02-05 19:08:37 +00:00
dal 76859bfa2d
Bugfix: Delete Dataset endpoint
Staging
2025-02-05 11:08:26 -08:00
dal 8c853b7ac3
Merge pull request #98 from buster-so/dal/fix-dataset-delete-bug
bugfix(datasets): add delete dataset route
2025-02-05 11:07:45 -08:00
dal d9973a13dd
bugfix(datasets): add delete dataset route
Implement a new DELETE route for removing datasets by their ID
2025-02-05 11:58:43 -07:00
github-actions[bot] c55951624e chore(release): update version to 0.0.28 2025-02-05 18:44:16 +00:00
dal 6f2976ef78
Merge pull request #97 from buster-so/staging
use colors in tooltip cache
2025-02-05 10:44:03 -08:00
dal 2be7383656
you learn something new every day... a schema in pg can't start with a number. 2025-02-05 11:36:31 -07:00
Nate Kelley f437aea897
use colors in tooltip cache 2025-02-05 08:12:13 -07:00
github-actions[bot] 078c66af1a chore(release): update version to 0.0.27 2025-02-05 15:02:36 +00:00
Nate Kelley b46de45aa8
Merge pull request #96 from buster-so/staging
Update MetricTitle to not duplicate
2025-02-05 07:02:23 -08:00
Nate Kelley 255c1514ad
Update MetricTitle.tsx 2025-02-05 08:01:55 -07:00
github-actions[bot] df192529d2 chore(release): update version to 0.0.26 2025-02-05 00:27:32 +00:00
dal 6535947d23
Merge pull request #95 from buster-so/staging
fix: janky check for values
2025-02-04 16:27:22 -08:00
dal 960c89ab84
fix: janky check for values 2025-02-04 17:26:57 -07:00
github-actions[bot] bfd76626de chore(release): update version to 0.0.25 2025-02-05 00:19:06 +00:00
dal 902f25dc6b
Merge pull request #94 from buster-so/staging
remove the limit query bc mixing things up
2025-02-04 16:18:54 -08:00
dal 87a6225f1d
remove the limit query bc mixing things up 2025-02-04 17:18:02 -07:00