Comments (7)
and filename
could be called path
imo?
from meteor.
@mabdh makes sense, so should we have a config like this:
config:
path: ./dir/some-dir/postgres_food_app_data.json
format: json
Where format is for defining data format and we write the data in the expected format in the whatever file extension user provides??
from meteor.
What about we just use filename
field and directory could be inferred from that field ?
e.g.
filename: ./dir/some-dir/postgres_food_app_data
from meteor.
What about we just use
filename
field and directory could be inferred from that field?
In this case we can also include the format then?? Cause just having the directory and filename patched together can be confusing if there is no extension at the end?
filename: ./dir/some-dir/postgres_food_app_data.json
from meteor.
sinks:
name: file
config:
format: "yaml/json"
filename: "postgres_food_app_data"
output-dir: path/to/folder
I thought this should be a fine format for config
with all the necessary info required for the file sink.
Also, supporting the json
and yaml
format is the expected behavior and not some other format, right?? @StewartJingga
Feel free to add any suggestions/feedback or additional expectations from this sink.
cc: @ravisuhag @mabdh @scortier
from meteor.
Also, have thought to keep the format and output-dir fields in config optional, and add some default values ourselves.
For eg:
format: json
output-dir = current
from meteor.
@GrayFlash but on the other hand, json
and yaml
are just a data format. they don't have to be coupled to the file extension. in this case, i don't think we should restrict file extension to the user but the best practice should be following what the data format is (we let user decide).
from meteor.
Related Issues (20)
- Unhelpful error message on parsing all recipes in directory
- Capture asset deletion in discovery
- Improve Coverage scraping HOT 3
- Some test files inside plugins package do not have `plugin` build tag
- ability to include & exclude specific datasets in bigquery extractor
- Changes are not reflected with multiple processors
- Improve extractor retries
- Add metadata extractor for MLFlow
- Enhance metadata extracted from Merlin
- Graceful shutdown
- Make sink batch size configurable
- fetch column policy tags as part of bigquery table extractor.
- Support `TLS` & `SASL` auth in kafka extractor plugin
- Support ability to exclude datasets/tables based on labels in bigquery extractor
- capture nested fields in `RECORD` type col in bigquery extractor
- Capture table DDL in Bigquery extractor HOT 1
- compass sink is not able to build lables HOT 1
- update README.md for labels for compass sink
- Can't build on Mac ( Intel ) HOT 3
- recipe in docs provides incorrect command
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 meteor.