mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
fix: error around latest partition in BigQuery (#11274)
* fix: error around latest partition in BigQuery * lint * Going with a backend-first approach * fix test * add an extra test
This commit is contained in:
committed by
GitHub
parent
c360413fc2
commit
796a2a6924
@@ -110,7 +110,7 @@ class TableElement extends React.PureComponent {
|
||||
/>
|
||||
);
|
||||
}
|
||||
let latest = Object.entries(table.partitions.latest).map(
|
||||
let latest = Object.entries(table.partitions?.latest || []).map(
|
||||
([key, value]) => `${key}=${value}`,
|
||||
);
|
||||
latest = latest.join('/');
|
||||
|
||||
Reference in New Issue
Block a user