Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AmendsenProject
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shaik Janipasha
AmendsenProject
Commits
4b7b147b
Unverified
Commit
4b7b147b
authored
Jul 20, 2020
by
Palash Das
Committed by
GitHub
Jul 20, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: Fix sql for missing columns and mysql based dialects (#550) (#305)
This solves
https://github.com/lyft/amundsen/issues/550
parent
24b3b0af
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
hive_sample_dag.py
example/dags/hive_sample_dag.py
+2
-1
No files found.
example/dags/hive_sample_dag.py
View file @
4b7b147b
...
@@ -66,7 +66,8 @@ def connection_string():
...
@@ -66,7 +66,8 @@ def connection_string():
def
create_table_wm_job
(
**
kwargs
):
def
create_table_wm_job
(
**
kwargs
):
sql
=
textwrap
.
dedent
(
"""
sql
=
textwrap
.
dedent
(
"""
SELECT From_unixtime(A0.create_time) as create_time,
SELECT From_unixtime(A0.create_time) as create_time,
C0.NAME as schema,
'hive' as `database`,
C0.NAME as `schema`,
B0.tbl_name as table_name,
B0.tbl_name as table_name,
{func}(A0.part_name) as part_name,
{func}(A0.part_name) as part_name,
{watermark} as part_type
{watermark} as part_type
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment