{"id":21064028,"url":"https://github.com/luochen1990/tableau-inspect","last_synced_at":"2025-05-16T02:32:19.574Z","repository":{"id":65513892,"uuid":"64825301","full_name":"luochen1990/tableau-inspect","owner":"luochen1990","description":"show SQL query generated by Tableau","archived":false,"fork":false,"pushed_at":"2018-05-17T12:13:47.000Z","size":9,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-24T04:43:52.189Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/luochen1990.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-03T07:30:22.000Z","updated_at":"2023-07-20T17:04:58.000Z","dependencies_parsed_at":"2023-01-26T20:55:17.604Z","dependency_job_id":null,"html_url":"https://github.com/luochen1990/tableau-inspect","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luochen1990%2Ftableau-inspect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luochen1990%2Ftableau-inspect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luochen1990%2Ftableau-inspect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luochen1990%2Ftableau-inspect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luochen1990","download_url":"https://codeload.github.com/luochen1990/tableau-inspect/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254456046,"owners_count":22074086,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T17:48:03.460Z","updated_at":"2025-05-16T02:32:15.268Z","avatar_url":"https://github.com/luochen1990.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Tableau Inspect\n===============\n\nWhen using Tableau, sometimes you need to know what Tableau did to your Database, this tool will print out the SQL Queries for you.\n\nInstall\n-------\n\nFirst, make sure you have [NodeJS](https://nodejs.org) installed and the command `npm` is available.\nThen execute `npm i -g tableau-inspect` to install the CLI command.\n\nUsage\n-----\n\n1. Start a console and execute command `tableau-inspect`\n2. Use Tableau...\n3. View SQL Queries on the console, there may be a delay about 3 or 5 seconds.\n\nDemo\n----\n\n```\n$ tableau-inspect\nC:\\Users\\Me\n## Tableau Repos: ## [\n    \"My Tableau Repository\"\n]\n## Watching: Logs\\log.txt (My Tableau Repository)\n## Watching: Logs\\tabprotosrv.txt (My Tableau Repository)\n\n-----------------------------------------------------\n#I 16:07:32 FROM Logs\\log.txt (My Tableau Repository)\n\nKey: qp-batch-summary; Elapsed: 0.05s\n\nSELECT \"t0\".\"store_id\" AS \"store_id\",\n  SUM((CASE WHEN (\"t0\".\"__measure__0\" \u003e 10) THEN 1 ELSE 0 END)) AS \"usr:Calculation_57814962331792\"\nFROM (\n  SELECT \"sales_fact_1997\".\"store_id\" AS \"store_id\",\n    \"time_by_day\".\"day_of_month\" AS \"day_of_month\",\n    SUM(\"sales_fact_1997\".\"store_sales\") AS \"__measure__0\"\n  FROM \"OLAP_TEST\".\"sales_fact_1997\" \"sales_fact_1997\"\n    INNER JOIN \"OLAP_TEST\".\"time_by_day\" \"time_by_day\" ON (\"sales_fact_1997\".\"time_id\" = \"time_by_day\".\"time_id\")\n  WHERE (\"sales_fact_1997\".\"store_id\" IN (2, 3, 6, 7))\n  GROUP BY \"sales_fact_1997\".\"store_id\",\n    \"time_by_day\".\"day_of_month\"\n) \"t0\"\nGROUP BY \"t0\".\"store_id\"\n\n#I 16:07:32 FROM Logs\\log.txt (My Tableau Repository)\n-----------------------------------------------------\n```\n\nCompatibility\n-------------\n\n- Tested on Windows 10 and MacOS 10.13\n- Tested on Tableau 9.2, Tableau 10.4, Tableau 2018.1\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluochen1990%2Ftableau-inspect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluochen1990%2Ftableau-inspect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluochen1990%2Ftableau-inspect/lists"}