-
Notifications
You must be signed in to change notification settings - Fork 209
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: add csv badges back in Quickstart #418
Merged
allisonsuarez
merged 13 commits into
amundsen-io:master
from
jornh:jornh-fix-csv-badges
Dec 14, 2020
Merged
Changes from 12 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
f9d6242
fix: csv badges back in quickstart
jornh a5e23b2
Adding noqa C901 because test breaks if I split code
jornh 721dcdb
mypy
jornh 6f54b2f
cleanup
jornh 38cac2d
test CsvTableColumnExtractor
jornh 004fc41
test CsvTableColumnExtractor
jornh 64c7164
Merge branch 'jornh-fix-csv-badges' of https://github.com/jornh/amund…
jornh 4bae7ee
Back out table level badges
jornh ac27aec
Update example/sample_data/sample_col.csv
jornh 2f55471
always have caller send a list of badge names
jornh a93f28f
back out unrelated
jornh 490d5c6
back out unrelated CASE change in test
jornh e488e10
__eq__ stricter typing the mypy way
jornh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
name,description,col_type,sort_order,database,cluster,schema,table_name | ||
col1,"col1 description","string",1,hive,gold,test_schema,test_table1 | ||
col2,"col2 description","string",2,hive,gold,test_schema,test_table1 | ||
col3,"col3 description","string",3,hive,gold,test_schema,test_table1 | ||
col4,"col4 description","string",4,hive,gold,test_schema,test_table1 | ||
col5,"col5 description","float",5,hive,gold,test_schema,test_table1 | ||
col1,"col1 description","string",1,dynamo,gold,test_schema,test_table2 | ||
col2,"col2 description","string",2,dynamo,gold,test_schema,test_table2 | ||
col3,"col3 description","string",3,dynamo,gold,test_schema,test_table2 | ||
col4,"col4 description","int",4,dynamo,gold,test_schema,test_table2 | ||
col1,"view col description","int",1,hive,gold,test_schema,test_view1 | ||
col1,"col1 description","int",1,hive,gold,test_schema,test_table3 | ||
name,description,col_type,sort_order,database,cluster,schema,table_name,badges | ||
col1,"col1 description","string",1,hive,gold,test_schema,test_table1,PK | ||
col2,"col2 description","string",2,hive,gold,test_schema,test_table1,PII | ||
col3,"col3 description","string",3,hive,gold,test_schema,test_table1, | ||
col4,"col4 description","string",4,hive,gold,test_schema,test_table1, | ||
col5,"col5 description","float",5,hive,gold,test_schema,test_table1, | ||
col1,"col1 description","string",1,dynamo,gold,test_schema,test_table2, | ||
col2,"col2 description","string",2,dynamo,gold,test_schema,test_table2, | ||
col3,"col3 description","string",3,dynamo,gold,test_schema,test_table2, | ||
col4,"col4 description","int",4,dynamo,gold,test_schema,test_table2, | ||
col1,"view col description","int",1,hive,gold,test_schema,test_view1, | ||
col1,"col1 description","int",1,hive,gold,test_schema,test_table3, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
database,cluster,schema,name,description,tags,is_view,description_source | ||
hive,gold,test_schema,test_table1,"1st test table","tag1,tag2,pii,high_quality",false, | ||
dynamo,gold,test_schema,test_table2,"2nd test table","high_quality,recommended",false, | ||
hive,gold,test_schema,test_table1,"1st test table","tag1,tag2",false, | ||
dynamo,gold,test_schema,test_table2,"2nd test table",recommended,false, | ||
hive,gold,test_schema,test_view1,"1st test view","tag1",true, | ||
hive,gold,test_schema,test_table3,"3rd test","needs_documentation",false, | ||
hive,gold,test_schema,"test's_table4","4th test","needs_documentation",false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
other: Badge
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh yeah of course! Thanks - currently AFK but will change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, apart from that it then throws an error
Apparently the Class itself isn't know at that point - which I find a little strange. So I'm keeping
Any
unless you know a trick.I got rid if the
# type: ignore[override]
though 🙂Oh wait, through this i found out it needs to be
other: 'Badge'
and then mypy itself gives the full recommended way:There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wow that's so useful