CSV to SQL & LookML Converter

How it Works

  • Quickly generate SQL UNION queries and LookML by pasting a raw CSV file.
  • This tool isintended to help you replicate data from one Looker Classic/Core instance to another instance that doesn't have the same data connections for troubleshooting purposes.
  • To use the application, follow these steps:

    1. Paste your CSV or JSON data into the input box.
    2. Choose a custom separator if your data uses something other than a comma (such as a semicolon or tab).
    3. Click the "Generate SQL & LookML" button to process your data.
    4. Check the generated results and copy them over to a new view on Looker
    5. Edit the view name and configure the generated fields as needed and create an explore based on this view for exploring it.

    UNION vs. UNION ALL:

    • UNION: Combines the result sets of multiple SELECT queries, removing any duplicate rows.It may not work on Looker Derived Tables, as SQL requires UNION_ALL when union is present in CTEs of queries.
    • UNION ALL: Combines result sets without removing duplicates, retaining all rows.

    Custom Separator

    Generated LookML

    Generated SQL

    Developed by Sidney Junior.
    🌐Yendis.dev.