witty-butcher-82399
03/21/2022, 12:10 PMschema_pattern
(note the trailing $
) working in 0.8.27 but not working in >= 0.8.28.
schema_pattern:
allow:
- ^my_database\$
This config is loaded as follows in 0.8.27 and tables in my_database
being processed
[2022-03-21 12:11:33,341] DEBUG {datahub.cli.ingest_cli:76} - Using config: {'source': {'type': 'hive', ..., 'schema_pattern': {'allow': ['^my_database$',
whereas in 0.8.28 gets loaded as follows
[2022-03-21 12:10:51,588] DEBUG {datahub.cli.ingest_cli:76} - Using config: {'source': {'type': 'hive', ..., 'schema_pattern': {'allow': ['^my_database\\$',
This results on the database not matching the pattern in 0.8.28 and so being filtered out.
So a recipe that was loading many tables with 0.8.27 loads none with 0.8.28.
Was this a voluntary change fixing some bad previous behaviour? Or just a sort of bug that was introduced from 0.8.28 version?green-football-43791
03/21/2022, 3:01 PMwitty-butcher-82399
03/21/2022, 3:14 PM$
in the reg exp patterns… so, how to escape then? or no need to escape at all?green-football-43791
03/21/2022, 3:14 PMwitty-butcher-82399
03/21/2022, 3:15 PM