Tableau MySQL - "转换为自定义SQL"生成无效查询

时间:2016-10-18 21:01:14

标签: mysql tableau

我正在运行Tableau,并连接到MySQL数据源。当我选择"转换为自定义SQL"选项,我收到一个错误。错误如下:

[MySQL][ODBC 5.3(w) Driver]Unknown column 'Name' in 'field list'

以下是查询:

SELECT `TableauSQL`.`Name` AS `Name`
FROM (
  SELECT `projectData`.`_id` AS `_id`,
    `projectData`.`approvalfy` AS `approvalfy`,

... many columns, none of which are 'name' ...

    `projectData`.`url` AS `url`
  FROM `projectData`
) `TableauSQL`
LIMIT 10000

那么为什么Tableau会生成一个查询,其中选择了不存在的列?

0 个答案:

没有答案