blob: 690af22100ad7fa57711de470692928700c637c3 [file] [log] [blame]
1 a 0 0 10.5 10.5 0 0 0 0 1957-04-09 00:00:00 1997-01-02 03:04:05 1997-02-10 17:32:01-08 00:01:00 hi, this is a string.
2 ab 1 1 100.06 10.5 1 1 1 1 1957-06-13 01:00:00 1997-01-02 00:00:00 1997-02-10 17:32:01.000001-08 05:00:00 hi, this is another string.
3 abc -1 -1 10.5 -1.00006 123456789 123456789 123456789 123456789 1996-02-28 02:03:00 2001-09-22 18:19:20 1997-02-10 17:32:01.999999-08 10 days how are you doing?
4 "" 12 12 100.006 1.23456789012345E14 999999999 999999999 999999999 999999999 1996-01-29 11:59:00 1997-02-10 17:32:01 1997-02-10 17:32:01.4-08 34 years this is drill.
5 "" 123 123 -1.00006 9.99999999999999E14 -999999999 -999999999 -999999999 -999999999 1996-03-01 12:00:00 1997-02-10 17:32:00 1997-02-10 17:32:01.5-08 3 mons try these joins on the recent build and file bug as needed with the logs/detailed info.
6 abc 92032039 -9223372036854775808 123456.0 -9.99999999999999E14 0.00000001 0.00000001 0.00000001 0.00000001 1996-03-02 12:01:00 1997-02-11 17:32:01 1997-02-10 17:32:01.6-08 -00:00:14 new-ats/common/src/main/java/com/mapr/qa/common/Utils.java
7 ab -23395000 9223372036854775807 999999.0 0.0 -0.00000001 -0.00000001 -0.00000001 -0.00000001 1997-02-28 23:59:00 1997-02-12 17:32:01 1997-02-10 17:32:01-08 1 day 02:03:04 Slight change. During the power shutdown use these credentials:
8 a -99392039 4567890123456789 -999999.0 1.0 12345.6789 12345.6789 12345.6789 12345.6789 1997-01-29 23:59:59.99 1997-02-13 17:32:01 1997-06-10 17:32:01-07 6 years hie sieheioo swhak eksca
9 a -2147483648 -4567890123456789 1.0E-5 1.2345E-10 -9876.54321 123456789.123456789 123456789.123456789 123456789.123456789 1997-03-01 15:36:39 1997-02-14 17:32:01 2000-03-15 08:14:01-08 5 mons The rpad function - rpad(str1, length [, str2]) returns different result compared to postgres, oracle and mysql when length is less than the lenght of str1. For example:
10 ab 2147483647 920320399049584 0.0 1234.56789012345 123.45 999999999999999999 999999999999999999 999999999999999999 1997-03-02 15:36:39 1997-02-15 17:32:01 2000-03-15 04:14:02-08 5 mons 12:00:00 another string
11 abc 32767 -922337203685477580 0.1 -5.67890123451234E10 -54.321 -999999999999999999 -999999999999999999 -999999999999999999 2000-04-01 00:01:00 1997-02-16 17:32:01 2000-03-15 02:14:03-08 01:00:00 PostgreSQL has a rich set of native data types available to users. Users can add new types to PostgreSQL using the CREATE TYPE command.
12 "" -32767 -99392039 0.5 -2.147483648E9 100.006 0.00000000000000001 0.00000000000000001 0.00000000000000001 2000-04-02 01:10:00 0097-02-16 17:32:01 BC 2000-03-15 03:14:04-08 02:00:00 which that data is used. For example, in relation B, f1 is converted to integer because 5 is integer. In relation C,
13 "" 49032 -2147483648 0.6 2.147483647E9 -1.00006 -0.00000000000000001 -0.00000000000000001 -0.00000000000000001 2000-04-03 02:33:00 0097-02-16 17:32:01 2000-03-15 01:14:05-08 -08:00:00 efault to type bytearray and implicit conversions
14 abc -4989385 2147483647 -0.0456 32767.0 123456 0.00000000012345 12345678901234.12345678901234 12345678901234.12345678901234 2038-04-08 23:59:00 0597-02-16 17:32:01 1997-02-10 17:32:01-08 -1 days +02:03:00 If the data does not conform to the schema, the loader will generate a null value or an error.
15 ab 69834830 32767 -456.678 -32767.0 999999 1234.56789012345 9999999999999999999999999999 9999999999999999999999999999 2039-04-09 12:03:00 1097-02-16 17:32:01 1997-02-10 17:32:01-08 -1 days +02:03:00 For example, in relation B, f1 is converted to integer because 5 is integer.
16 a 243 -32767 1203.43 100.006 -999999 -56789012345.1234 -9999999999999999999999999999 -9999999999999999999999999999 2040-04-10 12:31:00 1697-02-16 17:32:01 1997-02-10 17:32:00-08 10 days 12:00:00 In relation C, f1 and f2 are converted to double because we don't know the type of either f1 or f2.
17 a -426432 49032 9999.99 -1.00006 0.00001 -2147483648 0.000000000000000000000000001 0.000000000000000000000000001 1999-01-08 19:59:00 1797-02-16 17:32:01 1997-06-10 18:32:01-07 1 mon 15 days If Pig cannot resolve incompatible types through implicit casts, an error will occur.
18 ab -3904 -4989385 -9999.99 123456.0 0 2147483647 -0.000000000000000000000000001 -0.000000000000000000000000001 1999-02-08 11:59:59.99 1897-02-16 17:32:01 1997-01-02 00:00:00-08 9 years 1 mon -12 days +13:14:00 For example, you cannot add chararray and float (see the Types Table for addition and subtraction).
19 abc 489392758 69834830 9.0E-4 999999.0 0.1 32767 0.0009 1234567890123456789.1234567890123456789 1999-03-08 15:37:39 1997-02-16 17:32:01 1997-01-02 03:04:05-08 3 years 5 mons 12 days 360:00:00 A tuple is an ordered set of fields.
20 "" 589032574 243 4593.29 -999999.0 0.5 -32767 4593.29 99999999999999999999999999999999999999 1999-01-18 15:36:39 2097-02-16 17:32:01 1997-02-10 17:32:01-08 -3 years -5 mons -12 days +360:00:00 Use the exec command to run a Pig script with no interaction between the script and the Grunt shell (batch mode). Aliases defined in the script are not available to the shell; however, the files produced as the output of the script and stored on the system are visible after the script is run. Aliases defined via the shell are not available to the script.
21 "" 340000504 -426432 9302.21 1.0E-5 0.6 -9999.99 9302.21 -99999999999999999999999999999999999999 2003-01-02 11:59:59.99 1996-02-28 17:32:01 1997-02-10 17:32:01-08 -12 days With the exec command, store statements will not trigger execution;
22 abc 0 -3904 5.832 0.0 9999.99 0.0009 5.832 0.0000000000000000000000000000000000001 1999-04-08 15:37:39 1996-02-29 17:32:01 1997-02-10 17:32:01-08 9 mons -27 days +12:34:56 rather
23 ab 1 922337203685477580 -3920.23 0.1 -9999.99 4593.29 -3920.23 -0.0000000000000000000000000000000000001 0099-01-18 BC 15:36:39 1996-03-01 17:32:01 1997-02-10 17:32:00-08 -3 years +482 days 76:54:32.189 With the exec command, store statements will not trigger execution; rather, the entire script is parsed before execution starts. Unlike the run command, exec does not change the command history or remembers the handles used inside the script. Exec without any parameters can be used in scripts to force execution up to the point in the script where the exec occurs.