Comments (6)
I don't think it is a good idea to manually build the query AST in JS land. It couples the Frontend and Backend internals too much. Sending a SQL statement feels cleaner.
Yes, building the AST in JS only made sense as long as the AST could immediately be executed there too.
from desktop.
I vote for Option 1 too.
I additionally vote for using JSON as the output as it's easier to use in the frontend than parsing some CSV output.
We can live without progress reports, and if we need it later we can get hacky then.
from desktop.
Do we drop the JS CSV parser? If yes, do we use the backend to figure out the shape when we load a file?
If not, we need to use 2 different CSV libraries where each may have their own tiny differences.
from desktop.
Do we drop the JS CSV parser? If yes, do we use the backend to figure out the shape when we load a file?
If not, we need to use 2 different CSV libraries where each may have their own tiny differences.
Good point, @edongashi.
We either need another parser for the GUI or need to extend the Reference with an endpoint that returns a schema...
In either case, as long as we want to support CSV, it seems the CLI interface must be extended to support providing a schema as part of the input too!?
from desktop.
I say we do the CSV parsing only in the backend/reference tool.
To load the initial raw data (including the schema) the frontend could issue a standard SELECT * FROM 'file_name'
query.
from desktop.
This seems settled (at least for now).
from desktop.
Related Issues (20)
- Support passing custom AnonymizationParams from DfD to the service
- Replace full aggregation hook with post aggregation callback
- Add a configuration file.
- LED causes long Preview request when there are ~40k buckets HOT 9
- Modification to Desktop-settable anonymization parameters HOT 4
- Cleanup the handling of default anonymization parameters
- Suppression threshold is a controlled input but has a defaultValue HOT 7
- Provide smart defaults for generalization.
- Always cast columns to their inferred type when loading from the table
- Change "Adjust suppression threshold" to just "Suppression threshold" HOT 2
- Specification of suppression ("star") bucket
- Consider using 'summary' feature of tables for suppress bin
- Generalized star bucket tooltip looks weird
- Fill anon params description location in "Other anonymization parameters" docs section. HOT 1
- Example emails in docs should not be hyperlinked.
- Changing tabs reruns notebook steps after a point
- Update `reference` dep to latest `master` version.
- Numeric generalization of `integer` columns casts to `real`.
- Investigate Unicode support.
- Test/support auto detection of language to use for the GUI
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 desktop.