cube-js / cube

📊 Cube — Universal semantic layer platform for AI, BI, spreadsheets, and embedded analytics
https://cube.dev
Other
17.96k stars 1.78k forks source link

Update context.mdx #8900

Open morgan-at-cube opened 2 weeks ago

morgan-at-cube commented 2 weeks ago

The masking function example in this document generates SQL like this: SELECT "'--- masked ---'" "users__first_name" FROM ECOM.USERS AS "users" This is incorrect because quotes indicate a column name. If we remove the escaped quotes, then the query works.

Definitely feel free to tell me I'm wrong, this is just what I experienced in testing!

Check List

Issue Reference this PR resolves

[For example #12]

Description of Changes Made (if issue reference is not provided)

[Description goes here]

vercel[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

8 Skipped Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **examples-angular-dashboard** | ⬜️ Ignored ([Inspect](https://vercel.com/cube-dev/examples-angular-dashboard/4mKZcJg8aqzFtxNfVvuppzYS8nJi)) | [Visit Preview](https://examples-angular-dashboard-git-fork-morgan-at-c-482292-cube-dev.vercel.app) | | Nov 2, 2024 0:13am | | **examples-react-d3** | ⬜️ Ignored ([Inspect](https://vercel.com/cube-dev/examples-react-d3/Cb2L1Yhrx8dry936pHUaFzYrx5S9)) | [Visit Preview](https://examples-react-d3-git-fork-morgan-at-cube-patch-27-cube-dev.vercel.app) | | Nov 2, 2024 0:13am | | **examples-react-dashboard** | ⬜️ Ignored ([Inspect](https://vercel.com/cube-dev/examples-react-dashboard/Ads7WYYCJp39myHkKXzmxaH7HLkG)) | [Visit Preview](https://examples-react-dashboard-git-fork-morgan-at-cub-0813ff-cube-dev.vercel.app) | | Nov 2, 2024 0:13am | | **examples-react-data-table** | ⬜️ Ignored ([Inspect](https://vercel.com/cube-dev/examples-react-data-table/C6b7JLNpbejLnF7bGeKyRpuqo5eM)) | [Visit Preview](https://examples-react-data-table-git-fork-morgan-at-cu-a05f0c-cube-dev.vercel.app) | | Nov 2, 2024 0:13am | | **examples-react-highcharts** | ⬜️ Ignored ([Inspect](https://vercel.com/cube-dev/examples-react-highcharts/9jVn5HdrnfEBgqZKLRbeHysn9MzX)) | [Visit Preview](https://examples-react-highcharts-git-fork-morgan-at-cu-99490c-cube-dev.vercel.app) | | Nov 2, 2024 0:13am | | **examples-react-material-ui** | ⬜️ Ignored ([Inspect](https://vercel.com/cube-dev/examples-react-material-ui/JCkSTXt2EuR9kvUxWqxdZeL3FarV)) | [Visit Preview](https://examples-react-material-ui-git-fork-morgan-at-c-f3a25c-cube-dev.vercel.app) | | Nov 2, 2024 0:13am | | **examples-react-pivot-table** | ⬜️ Ignored ([Inspect](https://vercel.com/cube-dev/examples-react-pivot-table/3q2qWwe5CEpWMjRHdd6MsKtk6wQv)) | [Visit Preview](https://examples-react-pivot-table-git-fork-morgan-at-c-c50a85-cube-dev.vercel.app) | | Nov 2, 2024 0:13am | | **examples-vue-query-builder** | ⬜️ Ignored ([Inspect](https://vercel.com/cube-dev/examples-vue-query-builder/4MgvRzHMyR18fTSz78QWFqXyyQ3M)) | [Visit Preview](https://examples-vue-query-builder-git-fork-morgan-at-c-305601-cube-dev.vercel.app) | | Nov 2, 2024 0:13am |