File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ const DEFAULT_COLUMNS = [
5555 'project_name' ,
5656 'modalities' ,
5757 'data_level' ,
58- 'acquisition_type ' ,
58+ 'location ' ,
5959] ;
6060
6161const COLUMN_LABELS = {
@@ -135,15 +135,15 @@ async function _loadData(coord) {
135135 ab.age,
136136 ab.experimenters,
137137 ab.instrument_id,
138- ab.location,
138+ COALESCE( ab.location, 's3://' || sl.bucket || '/' || sl.prefix) AS location,
139139 ab.code_ocean,
140140 ab.process_date,
141141 sl.size_in_bytes AS size_bytes,
142142 sl.number_of_files AS num_files,
143143 sl.storage_class,
144144 sd.source_data
145145 FROM asset_basics ab
146- LEFT JOIN storage_lens sl
146+ FULL OUTER JOIN storage_lens sl
147147 ON ab.location = 's3://' || sl.bucket || '/' || sl.prefix
148148 LEFT JOIN source_data sd
149149 ON sd.name = ab.name AND sd.source_data IS NOT NULL AND sd.source_data != ''
You can’t perform that action at this time.
0 commit comments