From 4a1059e0cc8489b5c69e44277b715cbd2fe26f0d Mon Sep 17 00:00:00 2001 From: Ryan Syed Date: Tue, 11 Jun 2024 16:39:34 -0700 Subject: [PATCH] Updated PQSDKTestFrameworkDataSchema.sql with notes for uploading the data 1) Added notes for uploading decimal and timestamp values 2) Changed `improvement_surcharge` field to be double instead of string type --- testframework/data/PQSDKTestFrameworkDataSchema.sql | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/testframework/data/PQSDKTestFrameworkDataSchema.sql b/testframework/data/PQSDKTestFrameworkDataSchema.sql index 989accc..5d98be3 100644 --- a/testframework/data/PQSDKTestFrameworkDataSchema.sql +++ b/testframework/data/PQSDKTestFrameworkDataSchema.sql @@ -1,3 +1,9 @@ +/* +NOTE: +1) While uploading to the data source, all decimal values should have a scale of 2. That is, the number of digits after the decimal point should be 2. +2) All timestamp values should be uploaded to the datasouce in MM/DD/YYYY HH24:MI:SS format. +*/ + CREATE TABLE NycTaxiGreen ( RecordID int, VendorID int, @@ -14,7 +20,7 @@ CREATE TABLE NycTaxiGreen ( mta_tax double, tip_amount double, tolls_amount double, - improvement_surcharge string, + improvement_surcharge double, total_amount double, payment_type int, trip_type int, @@ -26,4 +32,4 @@ CREATE TABLE TaxiZoneLookup ( Borough string, Zone string, service_zone string -); \ No newline at end of file +);