Skip to content

Commit

Permalink
Fixes some whitespace/ordering changes in tests' expected outputs
Browse files Browse the repository at this point in the history
No idea why some Scala Lists change order (maybe they're Sets), maybe we
should sort them to ensure a normal order.
  • Loading branch information
netj committed Jan 31, 2016
1 parent a39cb0d commit fd509a7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion test/expected-output-test/expressions/compile.expected
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@ FROM a R0, b R1, c R2

deepdive create view L as 'SELECT DISTINCT R0.k AS column_0
FROM b R0
LIMIT 100'

LIMIT 100'

"""
output_relation: "L"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ FROM dd_delta_S R0
"""
output_relation: "dd_new_S"
style: "cmd_extractor"
dependencies: [ "ext_dd_delta_S" , "ext1_dd_delta_S_by_f" , "ext_dd_delta_S_by_f" , "ext_dd_delta_S_by_f_1" ]
dependencies: [ "ext_dd_delta_S" , "ext_dd_delta_S_by_f_1" , "ext_dd_delta_S_by_f" , "ext1_dd_delta_S_by_f" ]
input_relations: [
S
dd_delta_S
Expand Down Expand Up @@ -363,7 +363,7 @@ FROM dd_delta_R R0
WHERE R1.a = R0.x AND R0.x > 1000"""
function: "Imply(dd_new_Q.R0.label)"
weight: "?(dd_weight_column_0)"
dependencies: [ "ext_dd_delta_S" , "ext1_dd_delta_S_by_f" , "ext_dd_delta_S_by_f" , "ext_dd_delta_S_by_f_1" ]
dependencies: [ "ext_dd_delta_S" , "ext_dd_delta_S_by_f_1" , "ext_dd_delta_S_by_f" , "ext1_dd_delta_S_by_f" ]
input_relations: [
dd_new_Q
dd_delta_S
Expand All @@ -378,7 +378,7 @@ FROM dd_delta_R R0
WHERE R1.a = R0.x AND R0.x = 0"""
function: "Imply(dd_new_Q.R0.label)"
weight: "1.0"
dependencies: [ "ext_dd_delta_S" , "ext1_dd_delta_S_by_f" , "ext_dd_delta_S_by_f" , "ext_dd_delta_S_by_f_1" ]
dependencies: [ "ext_dd_delta_S" , "ext_dd_delta_S_by_f_1" , "ext_dd_delta_S_by_f" , "ext1_dd_delta_S_by_f" ]
input_relations: [
dd_new_Q
dd_delta_S
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ FROM R R0
WHERE R1.a = R0.x AND R0.x > 1000"""
function: "Imply(Q.R0.label)"
weight: "?(dd_weight_column_0)"
dependencies: [ "ext_S_by_f" , "ext_S" , "ext1_S_by_f" , "ext_S_by_f_1" ]
dependencies: [ "ext_S_by_f_1" , "ext_S" , "ext1_S_by_f" , "ext_S_by_f" ]
input_relations: [
Q
S
Expand All @@ -186,7 +186,7 @@ FROM R R0
WHERE R1.a = R0.x AND R0.x = 0"""
function: "Imply(Q.R0.label)"
weight: "1.0"
dependencies: [ "ext_S_by_f" , "ext_S" , "ext1_S_by_f" , "ext_S_by_f_1" ]
dependencies: [ "ext_S_by_f_1" , "ext_S" , "ext1_S_by_f" , "ext_S_by_f" ]
input_relations: [
Q
S
Expand All @@ -201,7 +201,7 @@ FROM R R0
WHERE R2.a = R0.x AND R3.a = R0.x AND R3.b = R1.x AND R4.a = R1.x """
function: "Imply(Q.R0.label, Q.R1.label)"
weight: "?(dd_weight_column_0)"
dependencies: [ "ext_S_by_f" , "ext_S" , "ext1_S_by_f" , "ext_S_by_f_1" ]
dependencies: [ "ext_S_by_f_1" , "ext_S" , "ext1_S_by_f" , "ext_S_by_f" ]
input_relations: [
Q
S
Expand All @@ -217,7 +217,7 @@ FROM R R0
WHERE R2.a = R0.x AND R3.a = R0.x AND R3.b = R1.x AND R4.a = R1.x AND (R0.x + R1.x) < 1000"""
function: "Imply(Q.R0.label, Q.R1.label)"
weight: "-10.0"
dependencies: [ "ext_S_by_f" , "ext_S" , "ext1_S_by_f" , "ext_S_by_f_1" ]
dependencies: [ "ext_S_by_f_1" , "ext_S" , "ext1_S_by_f" , "ext_S_by_f" ]
input_relations: [
Q
S
Expand Down

0 comments on commit fd509a7

Please sign in to comment.