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

fix(ingestion/lookml): drop hive. from CLL #11210

Merged
merged 2 commits into from
Aug 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ def get_upstream_column_ref(
config=self.config,
)

return upstreams_column_refs
return _drop_hive_dot_from_upstream(upstreams_column_refs)

def get_upstream_dataset_urn(self) -> List[Urn]:
return self._get_upstream_dataset_urn()
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
connection: "my_connection"

include: "top_10_employee_income_source.view.lkml"

explore: top_10_employee_income_source {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
view: top_10_employee_income_source {
derived_table: {
sql: SELECT id,
name,
source
FROM hive.employee_db.income_source
ORDER BY source desc
LIMIT 10
;;
}

dimension: id {
type: number
sql: ${TABLE}.id ;;
}

dimension: name {
type: string
sql: ${TABLE}.name ;;
}

dimension: source {
type: string
sql: ${TABLE}.source ;;
}
}
Loading
Loading