Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Support ClickHouse #71

Merged
merged 12 commits into from
Oct 19, 2021
Merged

feat: Support ClickHouse #71

merged 12 commits into from
Oct 19, 2021

Conversation

ObservedObserver
Copy link
Member

Feats:

  1. fetch meta data / dataSource from clickhouse.
  2. use clickhouse for OLAP (cube) computation.

todo:

  1. SQL (or limit SQL) API for OLAP computation tasks. (In visual-insights engine)
  2. connectors (proxy cases)
  3. meta data transform. (In Rath)
  4. data parser (query result -> json) (In Rath / VI)

simple test for a select case.
@ObservedObserver ObservedObserver self-assigned this Sep 25, 2021
@ObservedObserver ObservedObserver added the enhancement New feature or request label Sep 25, 2021
@todo
Copy link

todo bot commented Sep 28, 2021

import aggregators list from cube-core

// todo: import aggregators list from cube-core
const aggregationList: Array<{ key: Aggregator; text: string }> = [
{ key: "sum", text: "Sum" },
{ key: "count", text: "Count" },
{ key: "mean", text: "Mean" },
];


This comment was generated by todo based on a todo comment in 994fe2f in #71. cc @Kanaries.

@todo
Copy link

todo bot commented Sep 28, 2021

FIX this in visual insights

// @ts-ignore TODO: FIX this in visual insights
const { cube, fieldDictonary } = context;
const { dimensions, measures } = viewSpace;
const cuboid = cube.getCuboid(viewSpace.dimensions);
const aggData = cuboid.getState(measures, measures.map(() => 'sum'));
const insightSpaces: IInsightSpace[] = []


This comment was generated by todo based on a TODO comment in 994fe2f in #71. cc @Kanaries.

@ObservedObserver ObservedObserver merged commit ecb136d into master Oct 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant