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: add data elements to ES index #1213

Merged
merged 5 commits into from
Apr 6, 2023
Merged

Conversation

jczhong84
Copy link
Collaborator

  • Add below metadata to elastic search index
    • data element names
    • column description
    • data element description
  • Add the filter for data elements on search table tab
    image

querybook/webapp/components/DataElement/DataElement.scss Outdated Show resolved Hide resolved
querybook/webapp/components/Search/SearchOverview.tsx Outdated Show resolved Hide resolved
querybook/server/logic/data_element.py Outdated Show resolved Hide resolved
querybook/server/logic/data_element.py Outdated Show resolved Hide resolved
querybook/server/logic/elasticsearch.py Outdated Show resolved Hide resolved
querybook/server/models/metastore.py Show resolved Hide resolved
@jczhong84 jczhong84 requested a review from czgu April 6, 2023 05:59
czgu
czgu previously approved these changes Apr 6, 2023
@@ -26,3 +26,8 @@ export function useRankedTags(tags: ITag[]) {
[tags]
);
}

export function isTagValid(val: string) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

put it under lib/utils/tag.ts?

placeholder?: string;
onSelect?: (entity: string) => void;
onEntitiesChange?: (entities: string[]) => void;
isEntityValid?: (entity: string) => boolean;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

validateEntity

@czgu czgu merged commit 3759cf7 into pinterest:master Apr 6, 2023
4 checks passed
@jczhong84 jczhong84 deleted the feat/es branch April 7, 2023 00:40
rohan-sh1 pushed a commit to CAI-TECHNOLOGIES/cai-ext-db-explorer that referenced this pull request Apr 11, 2023
* feat: add data elements to ES index

* fix unit test and address comments

* remove unused property

* cover all TableTagSelect cases

* comments
aidenprice pushed a commit to arrowtail-precision/querybook that referenced this pull request Jan 3, 2024
* feat: add data elements to ES index

* fix unit test and address comments

* remove unused property

* cover all TableTagSelect cases

* comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants