message: fix(explore): Fix datasource switch for table chart
diff: @@ -36,11 +36,12 @@ const isControlValueCompatibleWithDatasource = (
  ) => {
  if (controlState.options && typeof value === 'string') {
  if (
  - (Array.isArray(controlState.options) &&
  controlState.options.some(
  - (option: [string | number, string]) => option[0] === value,
  - )) ||
  - value in controlState.options
  + (option: [string | number, string] | { column_name: string }) =>
  + Array.isArray(option)
  + ? option[0] === value
  + : option.column_name === value,
  + )
  ) {
  return datasource.columns.some(column => column.column_name === value);
  }
  