@gingkoo/pandora-metabase 1.0.0-alpha.21 → 1.0.0-alpha.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @gingkoo/pandora-metabase v1.0.0-alpha.21
2
+ * @gingkoo/pandora-metabase v1.0.0-alpha.22
3
3
  */
4
4
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
5
5
  import * as React from 'react';
@@ -774,7 +774,7 @@ const changeTableAlias = (list, curObj) => {
774
774
  v.by.map(by => {
775
775
  if (by.tableUuid === tableUuid) {
776
776
  by.alias = alias;
777
- by.sql = `${by.alias}.${by.realName || by.name} AS ${by.fieldAlias}`;
777
+ by.sql = `${by.alias}.${by.realName || by.name}`;
778
778
  }
779
779
  });
780
780
  }
@@ -887,7 +887,7 @@ const changeFieldAlias = (list, curObj) => {
887
887
  v.by.map(by => {
888
888
  if (by.fieldUuid === fieldUuid) {
889
889
  by.fieldAlias = fieldAlias;
890
- by.sql = `${by.alias}.${by.realName || by.name} AS ${by.fieldAlias}`;
890
+ by.sql = `${by.alias}.${by.realName || by.name}`;
891
891
  }
892
892
  });
893
893
  }