spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [1/2] [SPARK-1360] Add Timestamp Support for SQL
Date Thu, 03 Apr 2014 22:33:24 GMT
Repository: spark
Updated Branches:
  refs/heads/master fbebaedf2 -> 5d1feda21


http://git-wip-us.apache.org/repos/asf/spark/blob/5d1feda2/sql/hive/src/test/resources/golden/udf_to_boolean-15-4071ed0ff57b53963d5ee662fa9db0b0
----------------------------------------------------------------------
diff --git a/sql/hive/src/test/resources/golden/udf_to_boolean-15-4071ed0ff57b53963d5ee662fa9db0b0
b/sql/hive/src/test/resources/golden/udf_to_boolean-15-4071ed0ff57b53963d5ee662fa9db0b0
new file mode 100644
index 0000000..c508d53
--- /dev/null
+++ b/sql/hive/src/test/resources/golden/udf_to_boolean-15-4071ed0ff57b53963d5ee662fa9db0b0
@@ -0,0 +1 @@
+false

http://git-wip-us.apache.org/repos/asf/spark/blob/5d1feda2/sql/hive/src/test/resources/golden/udf_to_boolean-16-6b441df08afdc0c6c4a82670997dabb5
----------------------------------------------------------------------
diff --git a/sql/hive/src/test/resources/golden/udf_to_boolean-16-6b441df08afdc0c6c4a82670997dabb5
b/sql/hive/src/test/resources/golden/udf_to_boolean-16-6b441df08afdc0c6c4a82670997dabb5
new file mode 100644
index 0000000..c508d53
--- /dev/null
+++ b/sql/hive/src/test/resources/golden/udf_to_boolean-16-6b441df08afdc0c6c4a82670997dabb5
@@ -0,0 +1 @@
+false

http://git-wip-us.apache.org/repos/asf/spark/blob/5d1feda2/sql/hive/src/test/resources/golden/udf_to_boolean-17-85342c694d7f35e7eedb24e850d0c7df
----------------------------------------------------------------------
diff --git a/sql/hive/src/test/resources/golden/udf_to_boolean-17-85342c694d7f35e7eedb24e850d0c7df
b/sql/hive/src/test/resources/golden/udf_to_boolean-17-85342c694d7f35e7eedb24e850d0c7df
new file mode 100644
index 0000000..c508d53
--- /dev/null
+++ b/sql/hive/src/test/resources/golden/udf_to_boolean-17-85342c694d7f35e7eedb24e850d0c7df
@@ -0,0 +1 @@
+false

http://git-wip-us.apache.org/repos/asf/spark/blob/5d1feda2/sql/hive/src/test/resources/golden/udf_to_boolean-18-fcd7af0e71d3e2d934239ba606e3ed87
----------------------------------------------------------------------
diff --git a/sql/hive/src/test/resources/golden/udf_to_boolean-18-fcd7af0e71d3e2d934239ba606e3ed87
b/sql/hive/src/test/resources/golden/udf_to_boolean-18-fcd7af0e71d3e2d934239ba606e3ed87
new file mode 100644
index 0000000..7951def
--- /dev/null
+++ b/sql/hive/src/test/resources/golden/udf_to_boolean-18-fcd7af0e71d3e2d934239ba606e3ed87
@@ -0,0 +1 @@
+NULL

http://git-wip-us.apache.org/repos/asf/spark/blob/5d1feda2/sql/hive/src/test/resources/golden/udf_to_boolean-19-dcdb12fe551aa68a56921822f5d1a343
----------------------------------------------------------------------
diff --git a/sql/hive/src/test/resources/golden/udf_to_boolean-19-dcdb12fe551aa68a56921822f5d1a343
b/sql/hive/src/test/resources/golden/udf_to_boolean-19-dcdb12fe551aa68a56921822f5d1a343
new file mode 100644
index 0000000..7951def
--- /dev/null
+++ b/sql/hive/src/test/resources/golden/udf_to_boolean-19-dcdb12fe551aa68a56921822f5d1a343
@@ -0,0 +1 @@
+NULL

http://git-wip-us.apache.org/repos/asf/spark/blob/5d1feda2/sql/hive/src/test/resources/golden/udf_to_boolean-20-131900d39d9a20b431731a32fb9715f8
----------------------------------------------------------------------
diff --git a/sql/hive/src/test/resources/golden/udf_to_boolean-20-131900d39d9a20b431731a32fb9715f8
b/sql/hive/src/test/resources/golden/udf_to_boolean-20-131900d39d9a20b431731a32fb9715f8
new file mode 100644
index 0000000..7951def
--- /dev/null
+++ b/sql/hive/src/test/resources/golden/udf_to_boolean-20-131900d39d9a20b431731a32fb9715f8
@@ -0,0 +1 @@
+NULL

http://git-wip-us.apache.org/repos/asf/spark/blob/5d1feda2/sql/hive/src/test/resources/golden/udf_to_boolean-21-a5e28f4eb819e5a5e292e279f2990a7a
----------------------------------------------------------------------
diff --git a/sql/hive/src/test/resources/golden/udf_to_boolean-21-a5e28f4eb819e5a5e292e279f2990a7a
b/sql/hive/src/test/resources/golden/udf_to_boolean-21-a5e28f4eb819e5a5e292e279f2990a7a
new file mode 100644
index 0000000..7951def
--- /dev/null
+++ b/sql/hive/src/test/resources/golden/udf_to_boolean-21-a5e28f4eb819e5a5e292e279f2990a7a
@@ -0,0 +1 @@
+NULL

http://git-wip-us.apache.org/repos/asf/spark/blob/5d1feda2/sql/hive/src/test/resources/golden/udf_to_boolean-22-93278c10d642fa242f303d89b3b1961d
----------------------------------------------------------------------
diff --git a/sql/hive/src/test/resources/golden/udf_to_boolean-22-93278c10d642fa242f303d89b3b1961d
b/sql/hive/src/test/resources/golden/udf_to_boolean-22-93278c10d642fa242f303d89b3b1961d
new file mode 100644
index 0000000..7951def
--- /dev/null
+++ b/sql/hive/src/test/resources/golden/udf_to_boolean-22-93278c10d642fa242f303d89b3b1961d
@@ -0,0 +1 @@
+NULL

http://git-wip-us.apache.org/repos/asf/spark/blob/5d1feda2/sql/hive/src/test/resources/golden/udf_to_boolean-23-828558020ce907ffa7e847762a5e2358
----------------------------------------------------------------------
diff --git a/sql/hive/src/test/resources/golden/udf_to_boolean-23-828558020ce907ffa7e847762a5e2358
b/sql/hive/src/test/resources/golden/udf_to_boolean-23-828558020ce907ffa7e847762a5e2358
new file mode 100644
index 0000000..7951def
--- /dev/null
+++ b/sql/hive/src/test/resources/golden/udf_to_boolean-23-828558020ce907ffa7e847762a5e2358
@@ -0,0 +1 @@
+NULL

http://git-wip-us.apache.org/repos/asf/spark/blob/5d1feda2/sql/hive/src/test/resources/golden/udf_to_boolean-24-e8ca597d87932af16c0cf29d662e92da
----------------------------------------------------------------------
diff --git a/sql/hive/src/test/resources/golden/udf_to_boolean-24-e8ca597d87932af16c0cf29d662e92da
b/sql/hive/src/test/resources/golden/udf_to_boolean-24-e8ca597d87932af16c0cf29d662e92da
new file mode 100644
index 0000000..7951def
--- /dev/null
+++ b/sql/hive/src/test/resources/golden/udf_to_boolean-24-e8ca597d87932af16c0cf29d662e92da
@@ -0,0 +1 @@
+NULL

http://git-wip-us.apache.org/repos/asf/spark/blob/5d1feda2/sql/hive/src/test/resources/golden/udf_to_boolean-25-86245727f90de9ce65a12c97a03a5635
----------------------------------------------------------------------
diff --git a/sql/hive/src/test/resources/golden/udf_to_boolean-25-86245727f90de9ce65a12c97a03a5635
b/sql/hive/src/test/resources/golden/udf_to_boolean-25-86245727f90de9ce65a12c97a03a5635
new file mode 100644
index 0000000..7951def
--- /dev/null
+++ b/sql/hive/src/test/resources/golden/udf_to_boolean-25-86245727f90de9ce65a12c97a03a5635
@@ -0,0 +1 @@
+NULL

http://git-wip-us.apache.org/repos/asf/spark/blob/5d1feda2/sql/hive/src/test/resources/golden/udf_to_boolean-26-552d7ec5a4e0c93dc59a61973e2d63a2
----------------------------------------------------------------------
diff --git a/sql/hive/src/test/resources/golden/udf_to_boolean-26-552d7ec5a4e0c93dc59a61973e2d63a2
b/sql/hive/src/test/resources/golden/udf_to_boolean-26-552d7ec5a4e0c93dc59a61973e2d63a2
new file mode 100644
index 0000000..7951def
--- /dev/null
+++ b/sql/hive/src/test/resources/golden/udf_to_boolean-26-552d7ec5a4e0c93dc59a61973e2d63a2
@@ -0,0 +1 @@
+NULL

http://git-wip-us.apache.org/repos/asf/spark/blob/5d1feda2/sql/hive/src/test/resources/golden/udf_to_boolean-27-b61509b01b2fe3e7e4b72fedc74ff4f9
----------------------------------------------------------------------
diff --git a/sql/hive/src/test/resources/golden/udf_to_boolean-27-b61509b01b2fe3e7e4b72fedc74ff4f9
b/sql/hive/src/test/resources/golden/udf_to_boolean-27-b61509b01b2fe3e7e4b72fedc74ff4f9
new file mode 100644
index 0000000..7951def
--- /dev/null
+++ b/sql/hive/src/test/resources/golden/udf_to_boolean-27-b61509b01b2fe3e7e4b72fedc74ff4f9
@@ -0,0 +1 @@
+NULL

http://git-wip-us.apache.org/repos/asf/spark/blob/5d1feda2/sql/hive/src/test/resources/golden/udf_to_boolean-8-37229f303635a030f6cab20e0381f51f
----------------------------------------------------------------------
diff --git a/sql/hive/src/test/resources/golden/udf_to_boolean-8-37229f303635a030f6cab20e0381f51f
b/sql/hive/src/test/resources/golden/udf_to_boolean-8-37229f303635a030f6cab20e0381f51f
new file mode 100644
index 0000000..27ba77d
--- /dev/null
+++ b/sql/hive/src/test/resources/golden/udf_to_boolean-8-37229f303635a030f6cab20e0381f51f
@@ -0,0 +1 @@
+true

http://git-wip-us.apache.org/repos/asf/spark/blob/5d1feda2/sql/hive/src/test/resources/golden/udf_to_boolean-9-be623247e4dbf119b43458b72d1be017
----------------------------------------------------------------------
diff --git a/sql/hive/src/test/resources/golden/udf_to_boolean-9-be623247e4dbf119b43458b72d1be017
b/sql/hive/src/test/resources/golden/udf_to_boolean-9-be623247e4dbf119b43458b72d1be017
new file mode 100644
index 0000000..c508d53
--- /dev/null
+++ b/sql/hive/src/test/resources/golden/udf_to_boolean-9-be623247e4dbf119b43458b72d1be017
@@ -0,0 +1 @@
+false

http://git-wip-us.apache.org/repos/asf/spark/blob/5d1feda2/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveCompatibilitySuite.scala
----------------------------------------------------------------------
diff --git a/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveCompatibilitySuite.scala
b/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveCompatibilitySuite.scala
index f74b0fb..f76e16b 100644
--- a/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveCompatibilitySuite.scala
+++ b/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveCompatibilitySuite.scala
@@ -42,6 +42,9 @@ class HiveCompatibilitySuite extends HiveQueryFileTest {
     "bucket_num_reducers",
     "column_access_stats",
     "concatenate_inherit_table_location",
+    "describe_pretty",
+    "describe_syntax",
+    "orc_ends_with_nulls",
 
     // Setting a default property does not seem to get reset and thus changes the answer
for many
     // subsequent tests.
@@ -80,7 +83,6 @@ class HiveCompatibilitySuite extends HiveQueryFileTest {
     "index_auto_update",
     "index_auto_self_join",
     "index_stale.*",
-    "type_cast_1",
     "index_compression",
     "index_bitmap_compression",
     "index_auto_multiple",
@@ -237,9 +239,10 @@ class HiveCompatibilitySuite extends HiveQueryFileTest {
     "compute_stats_binary",
     "compute_stats_boolean",
     "compute_stats_double",
-    "compute_stats_table",
+    "compute_stats_empty_table",
     "compute_stats_long",
     "compute_stats_string",
+    "compute_stats_table",
     "convert_enum_to_string",
     "correlationoptimizer11",
     "correlationoptimizer15",
@@ -266,8 +269,8 @@ class HiveCompatibilitySuite extends HiveQueryFileTest {
     "desc_non_existent_tbl",
     "describe_comment_indent",
     "describe_database_json",
-    "describe_pretty",
-    "describe_syntax",
+    "describe_formatted_view_partitioned",
+    "describe_formatted_view_partitioned_json",
     "describe_table_json",
     "diff_part_input_formats",
     "disable_file_format_check",
@@ -339,8 +342,10 @@ class HiveCompatibilitySuite extends HiveQueryFileTest {
     "input11_limit",
     "input12",
     "input12_hadoop20",
+    "input14",
     "input19",
     "input1_limit",
+    "input21",
     "input22",
     "input23",
     "input24",
@@ -355,6 +360,9 @@ class HiveCompatibilitySuite extends HiveQueryFileTest {
     "input7",
     "input8",
     "input9",
+    "inputddl4",
+    "inputddl7",
+    "inputddl8",
     "input_limit",
     "input_part0",
     "input_part1",
@@ -368,9 +376,9 @@ class HiveCompatibilitySuite extends HiveQueryFileTest {
     "input_part7",
     "input_part8",
     "input_part9",
-    "inputddl4",
-    "inputddl7",
-    "inputddl8",
+    "input_testsequencefile",
+    "insert1",
+    "insert2_overwrite_partitions",
     "insert_compressed",
     "join0",
     "join1",
@@ -385,6 +393,7 @@ class HiveCompatibilitySuite extends HiveQueryFileTest {
     "join17",
     "join18",
     "join19",
+    "join_1to1",
     "join2",
     "join20",
     "join21",
@@ -400,6 +409,7 @@ class HiveCompatibilitySuite extends HiveQueryFileTest {
     "join30",
     "join31",
     "join32",
+    "join32_lessSize",
     "join33",
     "join34",
     "join35",
@@ -415,13 +425,14 @@ class HiveCompatibilitySuite extends HiveQueryFileTest {
     "join7",
     "join8",
     "join9",
-    "join_1to1",
     "join_array",
     "join_casesensitive",
     "join_empty",
     "join_filters",
     "join_hive_626",
+    "join_map_ppr",
     "join_nulls",
+    "join_rc",
     "join_reorder2",
     "join_reorder3",
     "join_reorder4",
@@ -435,22 +446,32 @@ class HiveCompatibilitySuite extends HiveQueryFileTest {
     "literal_string",
     "load_dyn_part7",
     "load_file_with_space_in_the_name",
+    "loadpart1",
     "louter_join_ppr",
     "mapjoin_distinct",
     "mapjoin_mapjoin",
     "mapjoin_subquery",
     "mapjoin_subquery2",
     "mapjoin_test_outer",
+    "mapreduce1",
+    "mapreduce2",
     "mapreduce3",
+    "mapreduce4",
+    "mapreduce5",
+    "mapreduce6",
     "mapreduce7",
+    "mapreduce8",
     "merge1",
     "merge2",
     "mergejoins",
     "mergejoins_mixed",
+    "multigroupby_singlemr",
+    "multi_insert_gby",
+    "multi_insert_gby3",
+    "multi_insert_lateral_view",
+    "multi_join_union",
     "multiMapJoin1",
     "multiMapJoin2",
-    "multi_join_union",
-    "multigroupby_singlemr",
     "noalias_subq1",
     "nomore_ambiguous_table_col",
     "nonblock_op_deduplicate",
@@ -466,16 +487,30 @@ class HiveCompatibilitySuite extends HiveQueryFileTest {
     "nullinput2",
     "nullscript",
     "optional_outer",
+    "orc_dictionary_threshold",
+    "orc_empty_files",
     "order",
     "order2",
     "outer_join_ppr",
+    "parallel",
+    "parenthesis_star_by",
+    "partcols1",
     "part_inherit_tbl_props",
     "part_inherit_tbl_props_empty",
     "part_inherit_tbl_props_with_star",
     "partition_schema1",
+    "partition_serde_format",
     "partition_varchar1",
+    "partition_wise_fileformat4",
+    "partition_wise_fileformat5",
+    "partition_wise_fileformat6",
+    "partition_wise_fileformat7",
+    "partition_wise_fileformat9",
     "plan_json",
     "ppd1",
+    "ppd2",
+    "ppd_clusterby",
+    "ppd_constant_expr",
     "ppd_constant_where",
     "ppd_gby",
     "ppd_gby2",
@@ -491,6 +526,7 @@ class HiveCompatibilitySuite extends HiveQueryFileTest {
     "ppd_outer_join5",
     "ppd_random",
     "ppd_repeated_alias",
+    "ppd_transform",
     "ppd_udf_col",
     "ppd_union",
     "ppr_allchildsarenull",
@@ -503,7 +539,15 @@ class HiveCompatibilitySuite extends HiveQueryFileTest {
     "query_with_semi",
     "quote1",
     "quote2",
+    "rcfile_columnar",
+    "rcfile_lazydecompress",
+    "rcfile_null_value",
+    "rcfile_toleratecorruptions",
+    "rcfile_union",
+    "reduce_deduplicate",
+    "reduce_deduplicate_exclude_gby",
     "reduce_deduplicate_exclude_join",
+    "reducesink_dedup",
     "rename_column",
     "router_join_ppr",
     "select_as_omitted",
@@ -531,6 +575,8 @@ class HiveCompatibilitySuite extends HiveQueryFileTest {
     "smb_mapjoin_3",
     "smb_mapjoin_4",
     "smb_mapjoin_5",
+    "smb_mapjoin_6",
+    "smb_mapjoin_7",
     "smb_mapjoin_8",
     "sort",
     "sort_merge_join_desc_1",
@@ -541,21 +587,27 @@ class HiveCompatibilitySuite extends HiveQueryFileTest {
     "sort_merge_join_desc_6",
     "sort_merge_join_desc_7",
     "stats0",
+    "stats_aggregator_error_1",
     "stats_empty_partition",
+    "stats_publisher_error_1",
     "subq2",
     "tablename_with_select",
+    "timestamp_comparison",
     "touch",
+    "transform_ppr1",
+    "transform_ppr2",
+    "type_cast_1",
     "type_widening",
     "udaf_collect_set",
     "udaf_corr",
     "udaf_covar_pop",
     "udaf_covar_samp",
+    "udaf_histogram_numeric",
+    "udf_10_trims",
     "udf2",
     "udf6",
+    "udf8",
     "udf9",
-    "udf_10_trims",
-    "udf_E",
-    "udf_PI",
     "udf_abs",
     "udf_acos",
     "udf_add",
@@ -585,13 +637,14 @@ class HiveCompatibilitySuite extends HiveQueryFileTest {
     "udf_cos",
     "udf_count",
     "udf_date_add",
-    "udf_date_sub",
     "udf_datediff",
+    "udf_date_sub",
     "udf_day",
     "udf_dayofmonth",
     "udf_degrees",
     "udf_div",
     "udf_double",
+    "udf_E",
     "udf_exp",
     "udf_field",
     "udf_find_in_set",
@@ -631,6 +684,7 @@ class HiveCompatibilitySuite extends HiveQueryFileTest {
     "udf_nvl",
     "udf_or",
     "udf_parse_url",
+    "udf_PI",
     "udf_positive",
     "udf_pow",
     "udf_power",
@@ -671,9 +725,9 @@ class HiveCompatibilitySuite extends HiveQueryFileTest {
     "udf_trim",
     "udf_ucase",
     "udf_upper",
+    "udf_variance",
     "udf_var_pop",
     "udf_var_samp",
-    "udf_variance",
     "udf_weekofyear",
     "udf_when",
     "udf_xpath",
@@ -703,8 +757,10 @@ class HiveCompatibilitySuite extends HiveQueryFileTest {
     "union27",
     "union28",
     "union29",
+    "union3",
     "union30",
     "union31",
+    "union33",
     "union34",
     "union4",
     "union5",
@@ -714,6 +770,7 @@ class HiveCompatibilitySuite extends HiveQueryFileTest {
     "union9",
     "union_lateralview",
     "union_ppr",
+    "union_remove_11",
     "union_remove_3",
     "union_remove_6",
     "union_script",


Mime
View raw message