|
d = [{'type': 'literal', 'alias': None, 'value': f} for f in info['_init_cols']] |
This lines assumes the presence of info['_init_cols'] However, in the function bellow, we can see that we can have either info['_init_cols'] or info['_init_bands']
Once this is fixed, please update the commented test test_query_dataset_happy_case and test_download_dataset_happy_case on the adapter-earth-engine RW API microservice.
sql2gee/sql2gee/gee_factory.py
Line 260 in 4502e9d
This lines assumes the presence of
info['_init_cols']However, in the function bellow, we can see that we can have eitherinfo['_init_cols']orinfo['_init_bands']sql2gee/sql2gee/gee_factory.py
Line 90 in 4502e9d
Once this is fixed, please update the commented test
test_query_dataset_happy_caseandtest_download_dataset_happy_caseon the adapter-earth-engine RW API microservice.