text stringlengths 1 12.9k |
|---|
[ |
{ |
"systemPrompt": "Generate test cases for the given ETL Mapping JSON based on business rules and provide me output as json string without any explanation. Sample output json format: [{\"testCaseName\":\"\",\"testCaseDescription\":\"\",\"sourceQuery\":\"\",\"targetQuery\":\"\"}] Note: Please generate only 'select' qu... |
"userPrompt": "[{\"businessRule\":\"No Transformation\",\"targetTableName\":\"sakila.actor\",\"sourceTableColumnInformation\":[{\"sourceColumnName\":\"last_name\",\"sourceTableName\":\"sakila.actor\",\"sourceColumnDatatype\":\"varchar\"}],\"targetColumnName\":\"last_name\",\"targetColumnDatatype\":\"varchar\"},{\"b... |
"response": "[{\"testCaseName\":\"Test Case - Direct Mapping of Columns\",\"testCaseDescription\":\"Test the direct mapping of columns from the source to target without any transformation.\",\"sourceQuery\":\"SELECT actor_id, first_name, last_name, last_update FROM sakila.actor\",\"targetQuery\":\"SELECT actor_id, ... |
}, |
{ |
"systemPrompt": "Generate test cases for the given ETL Mapping JSON based on business rules and provide me output as json string without any explanation. Sample output json format: [{\"testCaseName\":\"\",\"testCaseDescription\":\"\",\"sourceQuery\":\"\",\"targetQuery\":\"\"}] Note: Please generate only 'select' qu... |
"userPrompt": "[{\"businessRule\":\"Apply Aggregation\",\"targetTableName\":\"sales_summary\",\"sourceTableColumnInformation\":[{\"sourceColumnName\":\"sale_date\",\"sourceTableName\":\"sales\",\"sourceColumnDatatype\":\"date\"}],\"targetColumnName\":\"sale_date\",\"targetColumnDatatype\":\"date\"},{\"businessRule\... |
"response": "[{\"testCaseName\":\"Test Case - Aggregation and Group By\",\"testCaseDescription\":\"Test the aggregation and grouping of sales data based on sale_date with summation of amount.\",\"sourceQuery\":\"SELECT sale_date, SUM(amount) AS total_amount FROM sales GROUP BY sale_date\",\"targetQuery\":\"SELECT s... |
}, |
{ |
"systemPrompt": "Generate test cases for the given ETL Mapping JSON based on business rules and provide me output as json string without any explanation. Sample output json format: [{\"testCaseName\":\"\",\"testCaseDescription\":\"\",\"sourceQuery\":\"\",\"targetQuery\":\"\"}] Note: Please generate only 'select' qu... |
"userPrompt": "[{\"businessRule\":\"Apply Date Transformation\",\"targetTableName\":\"employee_data\",\"sourceTableColumnInformation\":[{\"sourceColumnName\":\"hire_date\",\"sourceTableName\":\"employee\",\"sourceColumnDatatype\":\"date\"}],\"targetColumnName\":\"hire_date_transformed\",\"targetColumnDatatype\":\"d... |
"response": "[{\"testCaseName\":\"Test Case - Date Transformation\",\"testCaseDescription\":\"Test the transformation of the hire_date to a new format for the target table.\",\"sourceQuery\":\"SELECT hire_date FROM employee\",\"targetQuery\":\"SELECT TO_CHAR(hire_date, 'YYYY-MM-DD') AS hire_date_transformed FROM em... |
}, |
{ |
"systemPrompt": "Generate test cases for the given ETL Mapping JSON based on business rules and provide me output as json string without any explanation. Sample output json format: [{\"testCaseName\":\"\",\"testCaseDescription\":\"\",\"sourceQuery\":\"\",\"targetQuery\":\"\"}] Note: Please generate only 'select' qu... |
"userPrompt": "[{\"businessRule\":\"Apply Aggregation\",\"targetTableName\":\"sales_summary\",\"sourceTableColumnInformation\":[{\"sourceColumnName\":\"sale_date\",\"sourceTableName\":\"sales\",\"sourceColumnDatatype\":\"date\"},{\"sourceColumnName\":\"amount\",\"sourceTableName\":\"sales\",\"sourceColumnDatatype\"... |
"response": "[{\"testCaseName\":\"Test Case - Aggregation and Group By for Sales Data\",\"testCaseDescription\":\"Test aggregation and summation of sales data grouped by sale_date.\",\"sourceQuery\":\"SELECT sale_date, SUM(amount) AS total_sales_amount FROM sales GROUP BY sale_date\",\"targetQuery\":\"SELECT sale_d... |
}, |
{ |
"systemPrompt": "Generate test cases for the given ETL Mapping JSON based on business rules and provide me output as json string without any explanation. Sample output json format: [{\"testCaseName\":\"\",\"testCaseDescription\":\"\",\"sourceQuery\":\"\",\"targetQuery\":\"\"}] Note: Please generate only 'select' qu... |
"userPrompt": "[{\"businessRule\":\"Direct Mapping with Transformation\",\"targetTableName\":\"employee_data\",\"sourceTableColumnInformation\":[{\"sourceColumnName\":\"first_name\",\"sourceTableName\":\"employee\",\"sourceColumnDatatype\":\"varchar\"},{\"sourceColumnName\":\"last_name\",\"sourceTableName\":\"emplo... |
"response": "[{\"testCaseName\":\"Test Case - Full Name and Date Transformation\",\"testCaseDescription\":\"Test the concatenation of first_name and last_name into full_name and apply date transformation on hire_date.\",\"sourceQuery\":\"SELECT first_name || ' ' || last_name AS full_name, TO_CHAR(hire_date, 'YYYY-M... |
}, |
{ |
"systemPrompt": "Generate test cases for the given ETL Mapping JSON based on business rules and provide me output as json string without any explanation. Sample output json format: [{\"testCaseName\":\"\",\"testCaseDescription\":\"\",\"sourceQuery\":\"\",\"targetQuery\":\"\"}] Note: Please generate only 'select' qu... |
"userPrompt": "[{\"businessRule\":\"Apply Filtering and Aggregation\",\"targetTableName\":\"order_summary\",\"sourceTableColumnInformation\":[{\"sourceColumnName\":\"order_date\",\"sourceTableName\":\"orders\",\"sourceColumnDatatype\":\"date\"},{\"sourceColumnName\":\"amount\",\"sourceTableName\":\"orders\",\"sourc... |
"response": "[{\"testCaseName\":\"Test Case - Filtered Aggregation for Orders\",\"testCaseDescription\":\"Test filtering and aggregation of orders based on order_date and summing the amounts for each date.\",\"sourceQuery\":\"SELECT order_date, SUM(amount) AS total_amount FROM orders WHERE order_date >= '2024-01-01... |
}, |
{ |
"systemPrompt": "Generate test cases for the given ETL Mapping JSON based on business rules and provide me output as json string without any explanation. Sample output json format: [{\"testCaseName\":\"\",\"testCaseDescription\":\"\",\"sourceQuery\":\"\",\"targetQuery\":\"\"}] Note: Please generate only 'select' qu... |
"userPrompt": "[{\"businessRule\":\"Direct Mapping and Conditional Filter\",\"targetTableName\":\"customer_data\",\"sourceTableColumnInformation\":[{\"sourceColumnName\":\"customer_id\",\"sourceTableName\":\"customers\",\"sourceColumnDatatype\":\"int\"},{\"sourceColumnName\":\"customer_name\",\"sourceTableName\":\"... |
"response": "[{\"testCaseName\":\"Test Case - Direct Mapping with Filtering for Customers\",\"testCaseDescription\":\"Test direct mapping for customer_id and customer_name with filtering on registration_date to only include customers registered after '2023-01-01'.\",\"sourceQuery\":\"SELECT customer_id, customer_na... |
}, |
{ |
"systemPrompt": "Generate test cases for the given ETL Mapping JSON based on business rules and provide me output as json string without any explanation. Sample output json format: [{\"testCaseName\":\"\",\"testCaseDescription\":\"\",\"sourceQuery\":\"\",\"targetQuery\":\"\"}] Note: Please generate only 'select' qu... |
"userPrompt": "[{\"businessRule\":\"Apply Conditional Transformation\",\"targetTableName\":\"product_inventory\",\"sourceTableColumnInformation\":[{\"sourceColumnName\":\"product_name\",\"sourceTableName\":\"products\",\"sourceColumnDatatype\":\"varchar\"},{\"sourceColumnName\":\"quantity\",\"sourceTableName\":\"in... |
"response": "[{\"testCaseName\":\"Test Case - Product Mapping and Stock Check\",\"testCaseDescription\":\"Test the direct mapping of product_name and apply stock status transformation for quantity values greater than 100.\",\"sourceQuery\":\"SELECT product_name, CASE WHEN quantity > 100 THEN 'In Stock' ELSE 'Out of... |
}, |
{ |
"systemPrompt": "Generate test cases for the given ETL Mapping JSON based on business rules and provide me output as json string without any explanation. Sample output json format: [{\"testCaseName\":\"\",\"testCaseDescription\":\"\",\"sourceQuery\":\"\",\"targetQuery\":\"\"}] Note: Please generate only 'select' qu... |
"userPrompt": "[{\"businessRule\":\"Apply Transformation with Join\",\"targetTableName\":\"order_details\",\"sourceTableColumnInformation\":[{\"sourceColumnName\":\"order_id\",\"sourceTableName\":\"orders\",\"sourceColumnDatatype\":\"int\"},{\"sourceColumnName\":\"product_id\",\"sourceTableName\":\"order_items\",\"... |
"response": "[{\"testCaseName\":\"Test Case - Join and Transform for Order Details\",\"testCaseDescription\":\"Test the join of orders and order_items tables to transform order information into a single field.\",\"sourceQuery\":\"SELECT o.order_id || '-' || oi.product_id AS order_info FROM orders o JOIN order_items... |
}, |
{ |
"systemPrompt": "Generate test cases for the given ETL Mapping JSON based on business rules and provide me output as json string without any explanation sample output json format : [{\"testCaseName\":\"\",\"testCaseDescription\":\"\",\"sourceQuery\":\"\",\"targetQuery\":\"\"}] Note: Please generate only 'select' qu... |
"userPrompt": "[{\"businessRule\":\"No Transformation\",\"targetTableName\":\"sakila.actor\",\"sourceTableColumnInformation\":[{\"sourceColumnName\":\"last_name\",\"sourceTableName\":\"sakila.actor\",\"sourceColumnDatatype\":\"varchar\"}],\"targetColumnName\":\"last_name\",\"targetColumnDatatype\":\"varchar\"},{\"b... |
"response": "[{\"testCaseName\":\"Direct Mapping Test Case\",\"testCaseDescription\":\"Test case for direct mapping of columns with no transformation.\",\"sourceQuery\":\"SELECT last_name, last_update, first_name, actor_id FROM sakila.actor\",\"targetQuery\":\"SELECT last_name, last_update, first_name, actor_id FRO... |
}, |
{ |
"systemPrompt": "Generate test cases for the given ETL Mapping JSON based on business rules and provide me output as json string without any explanation sample output json format : [{\"testCaseName\":\"\",\"testCaseDescription\":\"\",\"sourceQuery\":\"\",\"targetQuery\":\"\"}] Note: Please generate only 'select' qu... |
"userPrompt": "[{\"businessRule\":\"Aggregate Function\",\"targetTableName\":\"sakila.film\",\"sourceTableColumnInformation\":[{\"sourceColumnName\":\"rental_rate\",\"sourceTableName\":\"sakila.film\",\"sourceColumnDatatype\":\"decimal\"}],\"targetColumnName\":\"avg_rental_rate\",\"targetColumnDatatype\":\"decimal\... |
"response": "[{\"testCaseName\":\"Aggregate Function Test Case\",\"testCaseDescription\":\"Test case for aggregate function on rental_rate column.\",\"sourceQuery\":\"SELECT AVG(rental_rate) FROM sakila.film\",\"targetQuery\":\"SELECT avg_rental_rate FROM sakila.film\"}]" |
}, |
{ |
"systemPrompt": "Generate test cases for the given ETL Mapping JSON based on business rules and provide me output as json string without any explanation sample output json format : [{\"testCaseName\":\"\",\"testCaseDescription\":\"\",\"sourceQuery\":\"\",\"targetQuery\":\"\"}] Note: Please generate only 'select' qu... |
"userPrompt": "[{\"businessRule\":\"Transformation\",\"targetTableName\":\"sakila.customer\",\"sourceTableColumnInformation\":[{\"sourceColumnName\":\"first_name\",\"sourceTableName\":\"sakila.customer\",\"sourceColumnDatatype\":\"varchar\"}],\"targetColumnName\":\"first_name\",\"targetColumnDatatype\":\"varchar\",... |
"response": "[{\"testCaseName\":\"Transformation Test Case\",\"testCaseDescription\":\"Test case for transforming first_name and last_name to uppercase.\",\"sourceQuery\":\"SELECT UPPER(first_name), UPPER(last_name) FROM sakila.customer\",\"targetQuery\":\"SELECT first_name, last_name FROM sakila.customer\"}]" |
}, |
{ |
"systemPrompt": "Generate test cases for the given ETL Mapping JSON based on business rules and provide me output as json string without any explanation sample output json format : [{\"testCaseName\":\"\",\"testCaseDescription\":\"\",\"sourceQuery\":\"\",\"targetQuery\":\"\"}] Note: Please generate only 'select' qu... |
"userPrompt": "[{\"businessRule\":\"Conditional Transformation\",\"targetTableName\":\"sakila.payment\",\"sourceTableColumnInformation\":[{\"sourceColumnName\":\"amount\",\"sourceTableName\":\"sakila.payment\",\"sourceColumnDatatype\":\"decimal\"}],\"targetColumnName\":\"amount\",\"targetColumnDatatype\":\"decimal\... |
"response": "[{\"testCaseName\":\"Conditional Transformation Test Case\",\"testCaseDescription\":\"Test case for conditional transformation on amount column.\",\"sourceQuery\":\"SELECT CASE WHEN amount > 10 THEN amount * 0.9 ELSE amount END AS amount FROM sakila.payment\",\"targetQuery\":\"SELECT amount FROM sakila... |
}, |
{ |
"systemPrompt": "Generate test cases for the given ETL Mapping JSON based on business rules and provide me output as json string without any explanation sample output json format : [{\"testCaseName\":\"\",\"testCaseDescription\":\"\",\"sourceQuery\":\"\",\"targetQuery\":\"\"}] Note: Please generate only 'select' qu... |
"userPrompt": "[{\"businessRule\":\"No Transformation\",\"targetTableName\":\"sakila.film\",\"sourceTableColumnInformation\":[{\"sourceColumnName\":\"title\",\"sourceTableName\":\"sakila.film\",\"sourceColumnDatatype\":\"varchar\"}],\"targetColumnName\":\"title\",\"targetColumnDatatype\":\"varchar\"},{\"businessRul... |
"response": "[{\"testCaseName\":\"Direct Mapping Test Case\",\"testCaseDescription\":\"Test case for direct mapping of columns with no transformation.\",\"sourceQuery\":\"SELECT title, description, release_year FROM sakila.film\",\"targetQuery\":\"SELECT title, description, release_year FROM sakila.film\"}]" |
}, |
{ |
"systemPrompt": "Generate test cases for the given ETL Mapping JSON based on business rules and provide me output as json string without any explanation sample output json format : [{\"testCaseName\":\"\",\"testCaseDescription\":\"\",\"sourceQuery\":\"\",\"targetQuery\":\"\"}] Note: Please generate only 'select' qu... |
"userPrompt": "[{\"businessRule\":\"Aggregate Function\",\"targetTableName\":\"sakila.rental\",\"sourceTableColumnInformation\":[{\"sourceColumnName\":\"rental_duration\",\"sourceTableName\":\"sakila.rental\",\"sourceColumnDatatype\":\"smallint\"}],\"targetColumnName\":\"avg_rental_duration\",\"targetColumnDatatype... |
"response": "[{\"testCaseName\":\"Aggregate Function Test Case\",\"testCaseDescription\":\"Test case for aggregate functions on rental_duration and rental_rate columns.\",\"sourceQuery\":\"SELECT AVG(rental_duration), AVG(rental_rate) FROM sakila.rental\",\"targetQuery\":\"SELECT avg_rental_duration, avg_rental_rat... |
}, |
{ |
"systemPrompt": "Generate test cases for the given ETL Mapping JSON based on business rules and provide me output as json string without any explanation. Sample output json format: [{\"testCaseName\":\"\",\"testCaseDescription\":\"\",\"sourceQuery\":\"\",\"targetQuery\":\"\"}] Note: Please generate only 'select' qu... |
"userPrompt": "[{\"businessRule\":\"Expression-based Transformation\",\"targetTableName\":\"customer_discount\",\"sourceTableColumnInformation\":[{\"sourceColumnName\":\"total_amount\",\"sourceTableName\":\"orders\",\"sourceColumnDatatype\":\"decimal\"}],\"targetColumnName\":\"discounted_amount\",\"targetColumnData... |
"response": "[{\"testCaseName\":\"Test Case - Discount Calculation Based on Expression\",\"testCaseDescription\":\"Test calculation of discounted_amount based on total_amount and apply discount_percentage based on a given business rule.\",\"sourceQuery\":\"SELECT total_amount, CASE WHEN total_amount > 1000 THEN tot... |
}, |
{ |
"systemPrompt": "Generate test cases for the given ETL Mapping JSON based on business rules and provide me output as json string without any explanation. Sample output json format: [{\"testCaseName\":\"\",\"testCaseDescription\":\"\",\"sourceQuery\":\"\",\"targetQuery\":\"\"}] Note: Please generate only 'select' qu... |
"userPrompt": "[{\"businessRule\":\"Lookup Join\",\"targetTableName\":\"employee_salary\",\"sourceTableColumnInformation\":[{\"sourceColumnName\":\"employee_id\",\"sourceTableName\":\"employee\",\"sourceColumnDatatype\":\"int\"}],\"targetColumnName\":\"salary\",\"targetColumnDatatype\":\"decimal\"},{\"businessRule\... |
"response": "[{\"testCaseName\":\"Test Case - Lookup Join for Employee Salary\",\"testCaseDescription\":\"Test lookup join between employee and salary tables based on employee_id, and apply salary and bonus transformation.\",\"sourceQuery\":\"SELECT e.employee_id, s.salary, s.salary * 0.1 AS bonus FROM employee e L... |
}, |
{ |
"systemPrompt": "Generate test cases for the given ETL Mapping JSON based on business rules and provide me output as json string without any explanation. Sample output json format: [{\"testCaseName\":\"\",\"testCaseDescription\":\"\",\"sourceQuery\":\"\",\"targetQuery\":\"\"}] Note: Please generate only 'select' qu... |
"userPrompt": "[{\"businessRule\":\"Regular Expression-based Transformation\",\"targetTableName\":\"user_profile\",\"sourceTableColumnInformation\":[{\"sourceColumnName\":\"email\",\"sourceTableName\":\"users\",\"sourceColumnDatatype\":\"varchar\"}],\"targetColumnName\":\"domain\",\"targetColumnDatatype\":\"varchar... |
"response": "[{\"testCaseName\":\"Test Case - Regex-based Transformation for Email\",\"testCaseDescription\":\"Test extraction of domain and username using regex from the email address.\",\"sourceQuery\":\"SELECT email, REGEXP_SUBSTR(email, '@(\\S+)$') AS domain, REGEXP_SUBSTR(email, '^(\\S+)@') AS username FROM us... |
}, |
{ |
"systemPrompt": "Generate test cases for the given ETL Mapping JSON based on business rules and provide me output as json string without any explanation. Sample output json format: [{\"testCaseName\":\"\",\"testCaseDescription\":\"\",\"sourceQuery\":\"\",\"targetQuery\":\"\"}] Note: Please generate only 'select' qu... |
"userPrompt": "[{\"businessRule\":\"Column Condition Transformation\",\"targetTableName\":\"product_summary\",\"sourceTableColumnInformation\":[{\"sourceColumnName\":\"quantity\",\"sourceTableName\":\"inventory\",\"sourceColumnDatatype\":\"int\"}],\"targetColumnName\":\"stock_status\",\"targetColumnDatatype\":\"var... |
"response": "[{\"testCaseName\":\"Test Case - Product Availability and Stock Status Check\",\"testCaseDescription\":\"Test the application of stock status based on quantity and availability check for products with different quantity values.\",\"sourceQuery\":\"SELECT quantity, CASE WHEN quantity > 100 THEN 'In Stoc... |
}, |
{ |
"systemPrompt": "Generate test cases for the given ETL Mapping JSON based on business rules and provide me output as json string without any explanation. Sample output json format: [{\"testCaseName\":\"\",\"testCaseDescription\":\"\",\"sourceQuery\":\"\",\"targetQuery\":\"\"}] Note: Please generate only 'select' qu... |
"userPrompt": "[{\"businessRule\":\"Join with Additional Lookup\",\"targetTableName\":\"order_report\",\"sourceTableColumnInformation\":[{\"sourceColumnName\":\"order_id\",\"sourceTableName\":\"orders\",\"sourceColumnDatatype\":\"int\"},{\"sourceColumnName\":\"product_id\",\"sourceTableName\":\"order_items\",\"sour... |
"response": "[{\"testCaseName\":\"Test Case - Join and Lookup for Order Report\",\"testCaseDescription\":\"Test joining orders, order_items, and products to create a detailed order report with product names and order information.\",\"sourceQuery\":\"SELECT o.order_id || '-' || oi.product_id AS order_details, p.prod... |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 7