Comments (5)
I see, however the concept of datacontract test
is to really execute tests against the data store as defined in the server.
from datacontract-cli.
I would also love to see that the checks get exported as plain SQL queries, e.g. by returning either "nothing" if passing or true/false or even raise errors on not passing (in the worst case: select case when (<subquery which returns false on test failure>) then 1 else 'error message' || random() : int end
).
from datacontract-cli.
@jankatins
Great idea! I would propose a separate export format:
datacontract export --format sql-tests
from datacontract-cli.
Logically, I would have expected it under datacontract test --export=sql
or something similar, as it is part of the testing workflow.
from datacontract-cli.
I've implemented export to sql-ddl and sql-query. Closing this for now. Feel free to reopen if you want to continue the discussion on the sql-tests export idea.
from datacontract-cli.
Related Issues (20)
- Optional dependencies are actually required HOT 4
- Servers required in yaml no matter what
- SodaCL checks in separate file using $ref in specification object
- Add import and export for ClickHouse with --format clickhouse HOT 2
- How to pass server, catalog and schema when creation the Datacontract [Databricks] HOT 1
- YAML dump should use alias instead of pythonic name
- Model/Spec mismatch
- Bigquery import uses the wrong parameter name
- dbml import HOT 1
- Generic $ref import mechanism
- Extension of $ref resolution mechanism
- Type mismatch for s3 source with parquet format
- OCSF Import HOT 1
- Create import option for CSV files HOT 2
- Add support for SQLAlchemy as export format
- Fails right after brand new installation of 0.10.11 version
- CSV validation behaviour is suprising and buggy
- Clean bifurcation of contract mgmt versus connection functionality HOT 1
- Fail CLI Test On Unknown Additional Fields in Implementation Not Present in the Contract HOT 2
- Service Levels Should Perform Tests Natively
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datacontract-cli.