http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-lists/tiny-social-example-only-lists.9.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-lists/tiny-social-example-only-lists.9.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-lists/tiny-social-example-only-lists.9.ast
new file mode 100644
index 0000000..b7493c0
--- /dev/null
+++ 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-lists/tiny-social-example-only-lists.9.ast
@@ -0,0 +1,71 @@
+DataverseUse TinySocial
+Query:
+SELECT ELEMENT [
+RecordConstructor [
+  (
+    LiteralExpr [STRING] [field-name]
+    :
+    Variable [ Name=$n ]
+  )
+  (
+    LiteralExpr [STRING] [field-type]
+    :
+    Variable [ Name=$t ]
+  )
+  (
+    LiteralExpr [STRING] [count]
+    :
+    Variable [ Name=$count ]
+  )
+]
+]
+FROM [  FunctionCall Metadata.dataset@1[
+    LiteralExpr [STRING] [TweetMessagesAlternate]
+  ]
+  AS Variable [ Name=$r ]
+,
+  FunctionCall TinySocial.get-object-fields@1[
+    Variable [ Name=$r ]
+  ]
+  AS Variable [ Name=$f ]
+]
+Groupby
+  Variable [ Name=$n ]
+  :=
+  FieldAccessor [
+    Variable [ Name=$f ]
+    Field=field-name
+  ]
+  Variable [ Name=$t ]
+  :=
+  FieldAccessor [
+    Variable [ Name=$f ]
+    Field=field-type
+  ]
+  GROUP AS Variable [ Name=#1 ]
+  (
+    r:=Variable [ Name=$r ]
+    f:=Variable [ Name=$f ]
+  )
+
+Let Variable [ Name=$count ]
+  :=
+  FunctionCall TinySocial.sql-count@1[
+    (
+      SELECT ELEMENT [
+      FieldAccessor [
+        Variable [ Name=#2 ]
+        Field=r
+      ]
+      ]
+      FROM [        Variable [ Name=#1 ]
+        AS Variable [ Name=#2 ]
+      ]
+    )
+  ]
+Orderby
+  Variable [ Name=$n ]
+  ASC
+  Variable [ Name=$t ]
+  ASC
+

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.1.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.1.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.1.ast
new file mode 100644
index 0000000..04257fc
--- /dev/null
+++ 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.1.ast
@@ -0,0 +1,90 @@
+DataverseUse TinySocial
+TypeDecl TwitterUserType [
+  open RecordType {
+    screen-name : string,
+    lang : string,
+    friends_count : bigint,
+    statuses_count : bigint
+  }
+]
+TypeDecl TweetMessageType [
+  closed RecordType {
+    tweetid : string,
+    user : TwitterUserType,
+    sender-location : point?,
+    send-time : datetime,
+    referred-topics : UnorderedList <string>
+,
+    message-text : string
+  }
+]
+TypeDecl EmploymentType [
+  open RecordType {
+    organization-name : string,
+    start-date : date,
+    end-date : date?
+  }
+]
+TypeDecl FacebookUserType [
+  closed RecordType {
+    id : bigint,
+    alias : string,
+    name : string,
+    user-since : datetime,
+    friend-ids : UnorderedList <bigint>
+,
+    employment : OrderedList [EmploymentType]
+
+  }
+]
+TypeDecl FacebookMessageType [
+  closed RecordType {
+    message-id : bigint,
+    author-id : bigint,
+    in-response-to : bigint?,
+    sender-location : point?,
+    message : string
+  }
+]
+TypeDecl TwitterUserAlternateType [
+  open RecordType {
+    screen-name : string,
+    lang : string,
+    friends_count : bigint,
+    statuses_count : bigint
+  }
+]
+TypeDecl TweetMessageAlternateType [
+  closed RecordType {
+    tweetid : string,
+    user : TwitterUserAlternateType,
+    sender-location : point?,
+    send-time : datetime,
+    message-text : string
+  }
+]
+TypeDecl EmploymentAlternateType [
+  open RecordType {
+    organization-name : string,
+    start-date : date,
+    end-date : date?
+  }
+]
+TypeDecl FacebookUserAlternateType [
+  closed RecordType {
+    id : bigint,
+    alias : string,
+    name : string,
+    user-since : datetime,
+    employment : EmploymentAlternateType
+  }
+]
+TypeDecl FacebookMessageAlternateType [
+  closed RecordType {
+    message-id : bigint,
+    author-id : bigint,
+    in-response-to : bigint?,
+    sender-location : point?,
+    message : string
+  }
+]

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.2.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.2.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.2.ast
new file mode 100644
index 0000000..a2fb376
--- /dev/null
+++ 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.2.ast
@@ -0,0 +1,9 @@
+DataverseUse TinySocial
+DatasetDecl FacebookUsers(FacebookUserType) partitioned by [[id]]
+DatasetDecl FacebookMessages(FacebookMessageType) partitioned by [[message-id]]
+DatasetDecl TwitterUsers(TwitterUserType) partitioned by [[screen-name]]
+DatasetDecl TweetMessages(TweetMessageType) partitioned by [[tweetid]]
+DatasetDecl FacebookUsersAlternate(FacebookUserAlternateType) partitioned by 
[[id]]
+DatasetDecl FacebookMessagesAlternate(FacebookMessageAlternateType) 
partitioned by [[message-id]]
+DatasetDecl TwitterUsersAlternate(TwitterUserAlternateType) partitioned by 
[[screen-name]]
+DatasetDecl TweetMessagesAlternate(TweetMessageAlternateType) partitioned by 
[[tweetid]]

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.3.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.3.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.3.ast
new file mode 100644
index 0000000..f36d0ea
--- /dev/null
+++ 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.3.ast
@@ -0,0 +1 @@
+DataverseUse TinySocial

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.4.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.4.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.4.ast
new file mode 100644
index 0000000..b1b51e1
--- /dev/null
+++ 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.4.ast
@@ -0,0 +1,21 @@
+DataverseUse TinySocial
+Query:
+SELECT ELEMENT [
+FunctionCall TinySocial.get-object-fields@1[
+  Variable [ Name=$user ]
+]
+]
+FROM [  FunctionCall Metadata.dataset@1[
+    LiteralExpr [STRING] [FacebookUsersAlternate]
+  ]
+  AS Variable [ Name=$user ]
+]
+Where
+  OperatorExpr [
+    FieldAccessor [
+      Variable [ Name=$user ]
+      Field=id
+    ]
+    =
+    LiteralExpr [LONG] [8]
+  ]

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.5.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.5.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.5.ast
new file mode 100644
index 0000000..b623766
--- /dev/null
+++ 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.5.ast
@@ -0,0 +1,19 @@
+DataverseUse TinySocial
+Query:
+SELECT ELEMENT [
+FunctionCall TinySocial.get-object-fields@1[
+  Variable [ Name=$r ]
+]
+]
+FROM [  FunctionCall Metadata.dataset@1[
+    LiteralExpr [STRING] [FacebookUsersAlternate]
+  ]
+  AS Variable [ Name=$r ]
+]
+Orderby
+  FieldAccessor [
+    Variable [ Name=$r ]
+    Field=id
+  ]
+  ASC
+

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.6.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.6.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.6.ast
new file mode 100644
index 0000000..21c3121
--- /dev/null
+++ 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.6.ast
@@ -0,0 +1,19 @@
+DataverseUse TinySocial
+Query:
+SELECT ELEMENT [
+FunctionCall TinySocial.get-object-fields@1[
+  Variable [ Name=$r ]
+]
+]
+FROM [  FunctionCall Metadata.dataset@1[
+    LiteralExpr [STRING] [FacebookMessagesAlternate]
+  ]
+  AS Variable [ Name=$r ]
+]
+Orderby
+  FieldAccessor [
+    Variable [ Name=$r ]
+    Field=message-id
+  ]
+  ASC
+

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.7.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.7.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.7.ast
new file mode 100644
index 0000000..d3d80bb
--- /dev/null
+++ 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.7.ast
@@ -0,0 +1,19 @@
+DataverseUse TinySocial
+Query:
+SELECT ELEMENT [
+FunctionCall TinySocial.get-object-fields@1[
+  Variable [ Name=$r ]
+]
+]
+FROM [  FunctionCall Metadata.dataset@1[
+    LiteralExpr [STRING] [TwitterUsersAlternate]
+  ]
+  AS Variable [ Name=$r ]
+]
+Orderby
+  FieldAccessor [
+    Variable [ Name=$r ]
+    Field=screen-name
+  ]
+  ASC
+

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.8.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.8.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.8.ast
new file mode 100644
index 0000000..112eff2
--- /dev/null
+++ 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.8.ast
@@ -0,0 +1,19 @@
+DataverseUse TinySocial
+Query:
+SELECT ELEMENT [
+FunctionCall TinySocial.get-object-fields@1[
+  Variable [ Name=$r ]
+]
+]
+FROM [  FunctionCall Metadata.dataset@1[
+    LiteralExpr [STRING] [TweetMessagesAlternate]
+  ]
+  AS Variable [ Name=$r ]
+]
+Orderby
+  FieldAccessor [
+    Variable [ Name=$r ]
+    Field=tweetid
+  ]
+  ASC
+

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.9.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.9.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.9.ast
new file mode 100644
index 0000000..b7493c0
--- /dev/null
+++ 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/get-object-fields/tiny-social-example-only-records/tiny-social-example-only-records.9.ast
@@ -0,0 +1,71 @@
+DataverseUse TinySocial
+Query:
+SELECT ELEMENT [
+RecordConstructor [
+  (
+    LiteralExpr [STRING] [field-name]
+    :
+    Variable [ Name=$n ]
+  )
+  (
+    LiteralExpr [STRING] [field-type]
+    :
+    Variable [ Name=$t ]
+  )
+  (
+    LiteralExpr [STRING] [count]
+    :
+    Variable [ Name=$count ]
+  )
+]
+]
+FROM [  FunctionCall Metadata.dataset@1[
+    LiteralExpr [STRING] [TweetMessagesAlternate]
+  ]
+  AS Variable [ Name=$r ]
+,
+  FunctionCall TinySocial.get-object-fields@1[
+    Variable [ Name=$r ]
+  ]
+  AS Variable [ Name=$f ]
+]
+Groupby
+  Variable [ Name=$n ]
+  :=
+  FieldAccessor [
+    Variable [ Name=$f ]
+    Field=field-name
+  ]
+  Variable [ Name=$t ]
+  :=
+  FieldAccessor [
+    Variable [ Name=$f ]
+    Field=field-type
+  ]
+  GROUP AS Variable [ Name=#1 ]
+  (
+    r:=Variable [ Name=$r ]
+    f:=Variable [ Name=$f ]
+  )
+
+Let Variable [ Name=$count ]
+  :=
+  FunctionCall TinySocial.sql-count@1[
+    (
+      SELECT ELEMENT [
+      FieldAccessor [
+        Variable [ Name=#2 ]
+        Field=r
+      ]
+      ]
+      FROM [        Variable [ Name=#1 ]
+        AS Variable [ Name=#2 ]
+      ]
+    )
+  ]
+Orderby
+  Variable [ Name=$n ]
+  ASC
+  Variable [ Name=$t ]
+  ASC
+

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-closed-fieldname-conflict_issue173/open-closed-fieldname-conflict_issue173.1.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-closed-fieldname-conflict_issue173/open-closed-fieldname-conflict_issue173.1.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-closed-fieldname-conflict_issue173/open-closed-fieldname-conflict_issue173.1.ast
new file mode 100644
index 0000000..74c6095
--- /dev/null
+++ 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-closed-fieldname-conflict_issue173/open-closed-fieldname-conflict_issue173.1.ast
@@ -0,0 +1,8 @@
+DataverseUse test
+TypeDecl opentype [
+  open RecordType {
+    id : integer,
+    fname : string
+  }
+]
+DatasetDecl testds(opentype) partitioned by [[id]]

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-closed-fieldname-conflict_issue173/open-closed-fieldname-conflict_issue173.2.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-closed-fieldname-conflict_issue173/open-closed-fieldname-conflict_issue173.2.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-closed-fieldname-conflict_issue173/open-closed-fieldname-conflict_issue173.2.ast
new file mode 100644
index 0000000..916a59e
--- /dev/null
+++ 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-closed-fieldname-conflict_issue173/open-closed-fieldname-conflict_issue173.2.ast
@@ -0,0 +1 @@
+DataverseUse test

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-closed-fieldname-conflict_issue173/open-closed-fieldname-conflict_issue173.3.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-closed-fieldname-conflict_issue173/open-closed-fieldname-conflict_issue173.3.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-closed-fieldname-conflict_issue173/open-closed-fieldname-conflict_issue173.3.ast
new file mode 100644
index 0000000..c165b6f
--- /dev/null
+++ 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-closed-fieldname-conflict_issue173/open-closed-fieldname-conflict_issue173.3.ast
@@ -0,0 +1,26 @@
+DataverseUse test
+Query:
+SELECT ELEMENT [
+RecordConstructor [
+  (
+    FieldAccessor [
+      Variable [ Name=$x ]
+      Field=fname
+    ]
+    :
+    LiteralExpr [STRING] [smith]
+  )
+  (
+    FunctionCall test.lowercase@1[
+      LiteralExpr [STRING] [NAME]
+    ]
+    :
+    LiteralExpr [STRING] [john]
+  )
+]
+]
+FROM [  FunctionCall Metadata.dataset@1[
+    LiteralExpr [STRING] [testds]
+  ]
+  AS Variable [ Name=$x ]
+]

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-object-constructor_01/open-record-constructor_01.1.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-object-constructor_01/open-record-constructor_01.1.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-object-constructor_01/open-record-constructor_01.1.ast
new file mode 100644
index 0000000..e69de29

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-object-constructor_01/open-record-constructor_01.2.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-object-constructor_01/open-record-constructor_01.2.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-object-constructor_01/open-record-constructor_01.2.ast
new file mode 100644
index 0000000..e69de29

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-object-constructor_01/open-record-constructor_01.3.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-object-constructor_01/open-record-constructor_01.3.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-object-constructor_01/open-record-constructor_01.3.ast
new file mode 100644
index 0000000..508889a
--- /dev/null
+++ 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-object-constructor_01/open-record-constructor_01.3.ast
@@ -0,0 +1,15 @@
+DataverseUse test
+Set import-private-functions=true
+Query:
+SELECT ELEMENT [
+FunctionCall test.open-object-constructor@8[
+  LiteralExpr [STRING] [foo1]
+  LiteralExpr [LONG] [10]
+  LiteralExpr [STRING] [bar1]
+  LiteralExpr [LONG] [20]
+  LiteralExpr [STRING] [foo2]
+  LiteralExpr [LONG] [30]
+  LiteralExpr [STRING] [bar2]
+  LiteralExpr [LONG] [40]
+]
+]

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-object-constructor_02/open-record-constructor_02.1.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-object-constructor_02/open-record-constructor_02.1.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-object-constructor_02/open-record-constructor_02.1.ast
new file mode 100644
index 0000000..e69de29

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-object-constructor_02/open-record-constructor_02.2.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-object-constructor_02/open-record-constructor_02.2.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-object-constructor_02/open-record-constructor_02.2.ast
new file mode 100644
index 0000000..e69de29

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-object-constructor_02/open-record-constructor_02.3.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-object-constructor_02/open-record-constructor_02.3.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-object-constructor_02/open-record-constructor_02.3.ast
new file mode 100644
index 0000000..98594db
--- /dev/null
+++ 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-object-constructor_02/open-record-constructor_02.3.ast
@@ -0,0 +1,37 @@
+DataverseUse test
+Set import-private-functions=true
+Query:
+SELECT ELEMENT [
+FunctionCall test.open-object-constructor@8[
+  LiteralExpr [STRING] [foo1]
+  LiteralExpr [LONG] [10]
+  LiteralExpr [STRING] [bar1]
+  FunctionCall test.closed-object-constructor@12[
+    LiteralExpr [STRING] [bar1.1]
+    LiteralExpr [LONG] [10]
+    LiteralExpr [STRING] [bar1.2]
+    LiteralExpr [LONG] [20]
+    LiteralExpr [STRING] [bar1.3]
+    LiteralExpr [LONG] [30]
+    LiteralExpr [STRING] [bar1.4]
+    FunctionCall test.closed-object-constructor@8[
+      LiteralExpr [STRING] [bar1.4.1]
+      LiteralExpr [LONG] [10]
+      LiteralExpr [STRING] [bar1.4.2]
+      LiteralExpr [LONG] [20]
+      LiteralExpr [STRING] [bar1.4.3]
+      LiteralExpr [LONG] [30]
+      LiteralExpr [STRING] [bar1.4.4]
+      LiteralExpr [LONG] [40]
+    ]
+    LiteralExpr [STRING] [foo2]
+    LiteralExpr [LONG] [30]
+    LiteralExpr [STRING] [bar2]
+    LiteralExpr [LONG] [40]
+  ]
+  LiteralExpr [STRING] [foo2]
+  LiteralExpr [LONG] [30]
+  LiteralExpr [STRING] [bar2]
+  LiteralExpr [LONG] [40]
+]
+]

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-open-fieldname-conflict_issue173/open-open-fieldname-conflict_issue173.1.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-open-fieldname-conflict_issue173/open-open-fieldname-conflict_issue173.1.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-open-fieldname-conflict_issue173/open-open-fieldname-conflict_issue173.1.ast
new file mode 100644
index 0000000..1d7b726
--- /dev/null
+++ 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-open-fieldname-conflict_issue173/open-open-fieldname-conflict_issue173.1.ast
@@ -0,0 +1,8 @@
+DataverseUse test
+TypeDecl opentype [
+  open RecordType {
+    fname1 : string,
+    fname2 : string
+  }
+]
+DatasetDecl testds(opentype) partitioned by [[fname1]]

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-open-fieldname-conflict_issue173/open-open-fieldname-conflict_issue173.2.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-open-fieldname-conflict_issue173/open-open-fieldname-conflict_issue173.2.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-open-fieldname-conflict_issue173/open-open-fieldname-conflict_issue173.2.ast
new file mode 100644
index 0000000..916a59e
--- /dev/null
+++ 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-open-fieldname-conflict_issue173/open-open-fieldname-conflict_issue173.2.ast
@@ -0,0 +1 @@
+DataverseUse test

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-open-fieldname-conflict_issue173/open-open-fieldname-conflict_issue173.3.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-open-fieldname-conflict_issue173/open-open-fieldname-conflict_issue173.3.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-open-fieldname-conflict_issue173/open-open-fieldname-conflict_issue173.3.ast
new file mode 100644
index 0000000..0ec5e92
--- /dev/null
+++ 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/objects/open-open-fieldname-conflict_issue173/open-open-fieldname-conflict_issue173.3.ast
@@ -0,0 +1,27 @@
+DataverseUse test
+Query:
+SELECT ELEMENT [
+RecordConstructor [
+  (
+    FieldAccessor [
+      Variable [ Name=$x ]
+      Field=fname1
+    ]
+    :
+    LiteralExpr [STRING] [john]
+  )
+  (
+    FieldAccessor [
+      Variable [ Name=$x ]
+      Field=fname2
+    ]
+    :
+    LiteralExpr [STRING] [smith]
+  )
+]
+]
+FROM [  FunctionCall Metadata.dataset@1[
+    LiteralExpr [STRING] [testds]
+  ]
+  AS Variable [ Name=$x ]
+]

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.1.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.1.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.1.ast
deleted file mode 100644
index cbb39f2..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.1.ast
+++ /dev/null
@@ -1,58 +0,0 @@
-DataverseUse test
-TypeDecl S [
-  open RecordType {
-    id : bigint
-  }
-]
-TypeDecl GS [
-  closed RecordType {
-    id : bigint,
-    Genus : string,
-    lower : S
-  }
-]
-TypeDecl FGS [
-  open RecordType {
-    id : bigint,
-    Family : string
-  }
-]
-TypeDecl OFGS [
-  closed RecordType {
-    id : bigint,
-    Order : string,
-    lower : FGS
-  }
-]
-TypeDecl COFGS [
-  closed RecordType {
-    id : bigint,
-    Class : string,
-    lower : OFGS
-  }
-]
-TypeDecl PCOFGS [
-  closed RecordType {
-    id : bigint,
-    Phylum : string,
-    lower : COFGS
-  }
-]
-TypeDecl KPCOFGS [
-  open RecordType {
-    id : bigint,
-    Kingdom : string
-  }
-]
-TypeDecl Classification [
-  closed RecordType {
-    id : bigint,
-    fullClassification : KPCOFGS
-  }
-]
-TypeDecl Animal [
-  open RecordType {
-    id : bigint
-  }
-]
-DatasetDecl Animals(Animal) partitioned by [[id]]

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.10.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.10.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.10.ast
deleted file mode 100644
index 596df09..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.10.ast
+++ /dev/null
@@ -1,26 +0,0 @@
-DataverseUse test
-Query:
-SELECT ELEMENT [
-Variable [ Name=$result ]
-]
-FROM [  FunctionCall Metadata.dataset@1[
-    LiteralExpr [STRING] [Animals]
-  ]
-  AS Variable [ Name=$test ]
-]
-Let Variable [ Name=$result ]
-  :=
-  FieldAccessor [
-    FieldAccessor [
-      Variable [ Name=$test ]
-      Field=class
-    ]
-    Field=fullClassification
-  ]
-Orderby
-  FieldAccessor [
-    Variable [ Name=$result ]
-    Field=id
-  ]
-  ASC
-

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.11.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.11.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.11.ast
deleted file mode 100644
index 2136522..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.11.ast
+++ /dev/null
@@ -1,23 +0,0 @@
-DataverseUse test
-Query:
-SELECT ELEMENT [
-Variable [ Name=$result ]
-]
-FROM [  FunctionCall Metadata.dataset@1[
-    LiteralExpr [STRING] [Animals]
-  ]
-  AS Variable [ Name=$test ]
-]
-Let Variable [ Name=$result ]
-  :=
-  FieldAccessor [
-    Variable [ Name=$test ]
-    Field=class
-  ]
-Orderby
-  FieldAccessor [
-    Variable [ Name=$result ]
-    Field=id
-  ]
-  ASC
-

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.12.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.12.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.12.ast
deleted file mode 100644
index 6964ae3..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.12.ast
+++ /dev/null
@@ -1,20 +0,0 @@
-DataverseUse test
-Query:
-SELECT ELEMENT [
-Variable [ Name=$result ]
-]
-FROM [  FunctionCall Metadata.dataset@1[
-    LiteralExpr [STRING] [Animals]
-  ]
-  AS Variable [ Name=$test ]
-]
-Let Variable [ Name=$result ]
-  :=
-  Variable [ Name=$test ]
-Orderby
-  FieldAccessor [
-    Variable [ Name=$result ]
-    Field=id
-  ]
-  ASC
-

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.2.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.2.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.2.ast
deleted file mode 100644
index 916a59e..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.2.ast
+++ /dev/null
@@ -1 +0,0 @@
-DataverseUse test

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.3.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.3.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.3.ast
deleted file mode 100644
index 06c8956..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.3.ast
+++ /dev/null
@@ -1,44 +0,0 @@
-DataverseUse test
-Query:
-SELECT ELEMENT [
-Variable [ Name=$result ]
-]
-FROM [  FunctionCall Metadata.dataset@1[
-    LiteralExpr [STRING] [Animals]
-  ]
-  AS Variable [ Name=$test ]
-]
-Let Variable [ Name=$result ]
-  :=
-  FieldAccessor [
-    FieldAccessor [
-      FieldAccessor [
-        FieldAccessor [
-          FieldAccessor [
-            FieldAccessor [
-              FieldAccessor [
-                FieldAccessor [
-                  FieldAccessor [
-                    Variable [ Name=$test ]
-                    Field=class
-                  ]
-                  Field=fullClassification
-                ]
-                Field=lower
-              ]
-              Field=lower
-            ]
-            Field=lower
-          ]
-          Field=lower
-        ]
-        Field=lower
-      ]
-      Field=lower
-    ]
-    Field=Species
-  ]
-Orderby
-  Variable [ Name=$result ]
-  ASC
-

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.4.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.4.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.4.ast
deleted file mode 100644
index 1e0dfbe..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.4.ast
+++ /dev/null
@@ -1,44 +0,0 @@
-DataverseUse test
-Query:
-SELECT ELEMENT [
-Variable [ Name=$result ]
-]
-FROM [  FunctionCall Metadata.dataset@1[
-    LiteralExpr [STRING] [Animals]
-  ]
-  AS Variable [ Name=$test ]
-]
-Let Variable [ Name=$result ]
-  :=
-  FieldAccessor [
-    FieldAccessor [
-      FieldAccessor [
-        FieldAccessor [
-          FieldAccessor [
-            FieldAccessor [
-              FieldAccessor [
-                FieldAccessor [
-                  Variable [ Name=$test ]
-                  Field=class
-                ]
-                Field=fullClassification
-              ]
-              Field=lower
-            ]
-            Field=lower
-          ]
-          Field=lower
-        ]
-        Field=lower
-      ]
-      Field=lower
-    ]
-    Field=lower
-  ]
-Orderby
-  FieldAccessor [
-    Variable [ Name=$result ]
-    Field=id
-  ]
-  ASC
-

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.5.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.5.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.5.ast
deleted file mode 100644
index 5538c4e..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.5.ast
+++ /dev/null
@@ -1,41 +0,0 @@
-DataverseUse test
-Query:
-SELECT ELEMENT [
-Variable [ Name=$result ]
-]
-FROM [  FunctionCall Metadata.dataset@1[
-    LiteralExpr [STRING] [Animals]
-  ]
-  AS Variable [ Name=$test ]
-]
-Let Variable [ Name=$result ]
-  :=
-  FieldAccessor [
-    FieldAccessor [
-      FieldAccessor [
-        FieldAccessor [
-          FieldAccessor [
-            FieldAccessor [
-              FieldAccessor [
-                Variable [ Name=$test ]
-                Field=class
-              ]
-              Field=fullClassification
-            ]
-            Field=lower
-          ]
-          Field=lower
-        ]
-        Field=lower
-      ]
-      Field=lower
-    ]
-    Field=lower
-  ]
-Orderby
-  FieldAccessor [
-    Variable [ Name=$result ]
-    Field=id
-  ]
-  ASC
-

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.6.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.6.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.6.ast
deleted file mode 100644
index 147c38a..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.6.ast
+++ /dev/null
@@ -1,38 +0,0 @@
-DataverseUse test
-Query:
-SELECT ELEMENT [
-Variable [ Name=$result ]
-]
-FROM [  FunctionCall Metadata.dataset@1[
-    LiteralExpr [STRING] [Animals]
-  ]
-  AS Variable [ Name=$test ]
-]
-Let Variable [ Name=$result ]
-  :=
-  FieldAccessor [
-    FieldAccessor [
-      FieldAccessor [
-        FieldAccessor [
-          FieldAccessor [
-            FieldAccessor [
-              Variable [ Name=$test ]
-              Field=class
-            ]
-            Field=fullClassification
-          ]
-          Field=lower
-        ]
-        Field=lower
-      ]
-      Field=lower
-    ]
-    Field=lower
-  ]
-Orderby
-  FieldAccessor [
-    Variable [ Name=$result ]
-    Field=id
-  ]
-  ASC
-

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.7.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.7.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.7.ast
deleted file mode 100644
index d10c2e4..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.7.ast
+++ /dev/null
@@ -1,35 +0,0 @@
-DataverseUse test
-Query:
-SELECT ELEMENT [
-Variable [ Name=$result ]
-]
-FROM [  FunctionCall Metadata.dataset@1[
-    LiteralExpr [STRING] [Animals]
-  ]
-  AS Variable [ Name=$test ]
-]
-Let Variable [ Name=$result ]
-  :=
-  FieldAccessor [
-    FieldAccessor [
-      FieldAccessor [
-        FieldAccessor [
-          FieldAccessor [
-            Variable [ Name=$test ]
-            Field=class
-          ]
-          Field=fullClassification
-        ]
-        Field=lower
-      ]
-      Field=lower
-    ]
-    Field=lower
-  ]
-Orderby
-  FieldAccessor [
-    Variable [ Name=$result ]
-    Field=id
-  ]
-  ASC
-

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.8.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.8.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.8.ast
deleted file mode 100644
index d4091ba..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.8.ast
+++ /dev/null
@@ -1,32 +0,0 @@
-DataverseUse test
-Query:
-SELECT ELEMENT [
-Variable [ Name=$result ]
-]
-FROM [  FunctionCall Metadata.dataset@1[
-    LiteralExpr [STRING] [Animals]
-  ]
-  AS Variable [ Name=$test ]
-]
-Let Variable [ Name=$result ]
-  :=
-  FieldAccessor [
-    FieldAccessor [
-      FieldAccessor [
-        FieldAccessor [
-          Variable [ Name=$test ]
-          Field=class
-        ]
-        Field=fullClassification
-      ]
-      Field=lower
-    ]
-    Field=lower
-  ]
-Orderby
-  FieldAccessor [
-    Variable [ Name=$result ]
-    Field=id
-  ]
-  ASC
-

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.9.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.9.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.9.ast
deleted file mode 100644
index a6a2d64..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/access-nested-fields/access-nested-fields.9.ast
+++ /dev/null
@@ -1,29 +0,0 @@
-DataverseUse test
-Query:
-SELECT ELEMENT [
-Variable [ Name=$result ]
-]
-FROM [  FunctionCall Metadata.dataset@1[
-    LiteralExpr [STRING] [Animals]
-  ]
-  AS Variable [ Name=$test ]
-]
-Let Variable [ Name=$result ]
-  :=
-  FieldAccessor [
-    FieldAccessor [
-      FieldAccessor [
-        Variable [ Name=$test ]
-        Field=class
-      ]
-      Field=fullClassification
-    ]
-    Field=lower
-  ]
-Orderby
-  FieldAccessor [
-    Variable [ Name=$result ]
-    Field=id
-  ]
-  ASC
-

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-closed-fieldname-conflict_issue173/closed-closed-fieldname-conflict_issue173.1.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-closed-fieldname-conflict_issue173/closed-closed-fieldname-conflict_issue173.1.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-closed-fieldname-conflict_issue173/closed-closed-fieldname-conflict_issue173.1.ast
deleted file mode 100644
index e69de29..0000000

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-closed-fieldname-conflict_issue173/closed-closed-fieldname-conflict_issue173.2.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-closed-fieldname-conflict_issue173/closed-closed-fieldname-conflict_issue173.2.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-closed-fieldname-conflict_issue173/closed-closed-fieldname-conflict_issue173.2.ast
deleted file mode 100644
index e69de29..0000000

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-closed-fieldname-conflict_issue173/closed-closed-fieldname-conflict_issue173.3.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-closed-fieldname-conflict_issue173/closed-closed-fieldname-conflict_issue173.3.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-closed-fieldname-conflict_issue173/closed-closed-fieldname-conflict_issue173.3.ast
deleted file mode 100644
index a34f71f..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-closed-fieldname-conflict_issue173/closed-closed-fieldname-conflict_issue173.3.ast
+++ /dev/null
@@ -1,14 +0,0 @@
-DataverseUse test
-Query:
-RecordConstructor [
-  (
-    LiteralExpr [STRING] [name]
-    :
-    LiteralExpr [STRING] [john]
-  )
-  (
-    LiteralExpr [STRING] [name]
-    :
-    LiteralExpr [STRING] [smith]
-  )
-]

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-record-constructor_01/closed-record-constructor_01.1.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-record-constructor_01/closed-record-constructor_01.1.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-record-constructor_01/closed-record-constructor_01.1.ast
deleted file mode 100644
index e69de29..0000000

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-record-constructor_01/closed-record-constructor_01.2.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-record-constructor_01/closed-record-constructor_01.2.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-record-constructor_01/closed-record-constructor_01.2.ast
deleted file mode 100644
index e69de29..0000000

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-record-constructor_01/closed-record-constructor_01.3.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-record-constructor_01/closed-record-constructor_01.3.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-record-constructor_01/closed-record-constructor_01.3.ast
deleted file mode 100644
index e9e175b..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-record-constructor_01/closed-record-constructor_01.3.ast
+++ /dev/null
@@ -1,15 +0,0 @@
-DataverseUse test
-Set import-private-functions=true
-Query:
-SELECT ELEMENT [
-FunctionCall test.closed-record-constructor@8[
-  LiteralExpr [STRING] [foo1]
-  LiteralExpr [LONG] [10]
-  LiteralExpr [STRING] [bar1]
-  LiteralExpr [LONG] [20]
-  LiteralExpr [STRING] [foo2]
-  LiteralExpr [LONG] [30]
-  LiteralExpr [STRING] [bar2]
-  LiteralExpr [LONG] [40]
-]
-]

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-record-constructor_02/closed-record-constructor_02.1.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-record-constructor_02/closed-record-constructor_02.1.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-record-constructor_02/closed-record-constructor_02.1.ast
deleted file mode 100644
index e69de29..0000000

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-record-constructor_02/closed-record-constructor_02.2.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-record-constructor_02/closed-record-constructor_02.2.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-record-constructor_02/closed-record-constructor_02.2.ast
deleted file mode 100644
index e69de29..0000000

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-record-constructor_02/closed-record-constructor_02.3.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-record-constructor_02/closed-record-constructor_02.3.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-record-constructor_02/closed-record-constructor_02.3.ast
deleted file mode 100644
index a230856..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-record-constructor_02/closed-record-constructor_02.3.ast
+++ /dev/null
@@ -1,37 +0,0 @@
-DataverseUse test
-Set import-private-functions=true
-Query:
-SELECT ELEMENT [
-FunctionCall test.closed-record-constructor@8[
-  LiteralExpr [STRING] [foo1]
-  LiteralExpr [LONG] [10]
-  LiteralExpr [STRING] [bar1]
-  FunctionCall test.closed-record-constructor@12[
-    LiteralExpr [STRING] [bar1.1]
-    LiteralExpr [LONG] [10]
-    LiteralExpr [STRING] [bar1.2]
-    LiteralExpr [LONG] [20]
-    LiteralExpr [STRING] [bar1.3]
-    LiteralExpr [LONG] [30]
-    LiteralExpr [STRING] [bar1.4]
-    FunctionCall test.closed-record-constructor@8[
-      LiteralExpr [STRING] [bar1.4.1]
-      LiteralExpr [LONG] [10]
-      LiteralExpr [STRING] [bar1.4.2]
-      LiteralExpr [LONG] [20]
-      LiteralExpr [STRING] [bar1.4.3]
-      LiteralExpr [LONG] [30]
-      LiteralExpr [STRING] [bar1.4.4]
-      LiteralExpr [LONG] [40]
-    ]
-    LiteralExpr [STRING] [foo2]
-    LiteralExpr [LONG] [30]
-    LiteralExpr [STRING] [bar2]
-    LiteralExpr [LONG] [40]
-  ]
-  LiteralExpr [STRING] [foo2]
-  LiteralExpr [LONG] [30]
-  LiteralExpr [STRING] [bar2]
-  LiteralExpr [LONG] [40]
-]
-]

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-record-constructor_03/closed-record-constructor_03.1.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-record-constructor_03/closed-record-constructor_03.1.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-record-constructor_03/closed-record-constructor_03.1.ast
deleted file mode 100644
index e69de29..0000000

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-record-constructor_03/closed-record-constructor_03.2.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-record-constructor_03/closed-record-constructor_03.2.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-record-constructor_03/closed-record-constructor_03.2.ast
deleted file mode 100644
index e69de29..0000000

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-record-constructor_03/closed-record-constructor_03.3.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-record-constructor_03/closed-record-constructor_03.3.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-record-constructor_03/closed-record-constructor_03.3.ast
deleted file mode 100644
index 387ad1a..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/closed-record-constructor_03/closed-record-constructor_03.3.ast
+++ /dev/null
@@ -1,59 +0,0 @@
-DataverseUse test
-Set import-private-functions=true
-Query:
-SELECT ELEMENT [
-RecordConstructor [
-  (
-    LiteralExpr [STRING] [foo1]
-    :
-    LiteralExpr [LONG] [10]
-  )
-  (
-    LiteralExpr [STRING] [bar1]
-    :
-    RecordConstructor [
-      (
-        LiteralExpr [STRING] [bar1.1]
-        :
-        LiteralExpr [LONG] [10]
-      )
-      (
-        LiteralExpr [STRING] [bar1.2]
-        :
-        LiteralExpr [LONG] [20]
-      )
-      (
-        LiteralExpr [STRING] [bar1.3]
-        :
-        LiteralExpr [LONG] [30]
-      )
-      (
-        LiteralExpr [STRING] [bar1.4]
-        :
-        RecordConstructor [
-          (
-            LiteralExpr [STRING] [bar1.4.1]
-            :
-            LiteralExpr [LONG] [10]
-          )
-          (
-            LiteralExpr [STRING] [bar1.4.2]
-            :
-            LiteralExpr [LONG] [20]
-          )
-        ]
-      )
-    ]
-  )
-  (
-    LiteralExpr [STRING] [foo2]
-    :
-    LiteralExpr [LONG] [30]
-  )
-  (
-    LiteralExpr [STRING] [bar2]
-    :
-    LiteralExpr [LONG] [40]
-  )
-]
-]

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/expFieldName/expFieldName.1.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/expFieldName/expFieldName.1.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/expFieldName/expFieldName.1.ast
deleted file mode 100644
index e69de29..0000000

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/expFieldName/expFieldName.2.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/expFieldName/expFieldName.2.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/expFieldName/expFieldName.2.ast
deleted file mode 100644
index e69de29..0000000

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/expFieldName/expFieldName.3.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/expFieldName/expFieldName.3.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/expFieldName/expFieldName.3.ast
deleted file mode 100644
index 2230b1f..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/expFieldName/expFieldName.3.ast
+++ /dev/null
@@ -1,17 +0,0 @@
-DataverseUse test
-Query:
-SELECT ELEMENT [
-RecordConstructor [
-  (
-    Variable [ Name=$x ]
-    :
-    LiteralExpr [LONG] [1]
-  )
-]
-]
-FROM [  OrderedListConstructor [
-    LiteralExpr [STRING] [field1]
-    LiteralExpr [STRING] [field2]
-  ]
-  AS Variable [ Name=$x ]
-]

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/field-access-by-index_01/field-access-by-index_01.1.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/field-access-by-index_01/field-access-by-index_01.1.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/field-access-by-index_01/field-access-by-index_01.1.ast
deleted file mode 100644
index e69de29..0000000

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/field-access-by-index_01/field-access-by-index_01.2.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/field-access-by-index_01/field-access-by-index_01.2.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/field-access-by-index_01/field-access-by-index_01.2.ast
deleted file mode 100644
index e69de29..0000000

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/field-access-by-index_01/field-access-by-index_01.3.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/field-access-by-index_01/field-access-by-index_01.3.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/field-access-by-index_01/field-access-by-index_01.3.ast
deleted file mode 100644
index 9d46669..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/field-access-by-index_01/field-access-by-index_01.3.ast
+++ /dev/null
@@ -1,30 +0,0 @@
-DataverseUse test
-Set import-private-functions=true
-Query:
-FunctionCall test.field-access-by-index@2[
-  RecordConstructor [
-    (
-      LiteralExpr [STRING] [foo1]
-      :
-      LiteralExpr [LONG] [10]
-    )
-    (
-      LiteralExpr [STRING] [bar1]
-      :
-      LiteralExpr [LONG] [20]
-    )
-    (
-      LiteralExpr [STRING] [foo2]
-      :
-      LiteralExpr [LONG] [30]
-    )
-    (
-      LiteralExpr [STRING] [bar2]
-      :
-      LiteralExpr [LONG] [40]
-    )
-  ]
-  FunctionCall test.int32@1[
-    LiteralExpr [STRING] [2]
-  ]
-]

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/field-access-on-open-field/field-access-on-open-field.1.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/field-access-on-open-field/field-access-on-open-field.1.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/field-access-on-open-field/field-access-on-open-field.1.ast
deleted file mode 100644
index 5d66ae8..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/field-access-on-open-field/field-access-on-open-field.1.ast
+++ /dev/null
@@ -1,8 +0,0 @@
-DataverseUse test
-TypeDecl TestType [
-  open RecordType {
-    id : integer,
-    name : string
-  }
-]
-DatasetDecl testds(TestType) partitioned by [[id]]

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/field-access-on-open-field/field-access-on-open-field.2.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/field-access-on-open-field/field-access-on-open-field.2.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/field-access-on-open-field/field-access-on-open-field.2.ast
deleted file mode 100644
index 916a59e..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/field-access-on-open-field/field-access-on-open-field.2.ast
+++ /dev/null
@@ -1 +0,0 @@
-DataverseUse test

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/field-access-on-open-field/field-access-on-open-field.3.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/field-access-on-open-field/field-access-on-open-field.3.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/field-access-on-open-field/field-access-on-open-field.3.ast
deleted file mode 100644
index 84c69fe..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/field-access-on-open-field/field-access-on-open-field.3.ast
+++ /dev/null
@@ -1,19 +0,0 @@
-DataverseUse test
-Query:
-SELECT ELEMENT [
-FieldAccessor [
-  Variable [ Name=$a ]
-  Field=zip
-]
-]
-FROM [  FunctionCall Metadata.dataset@1[
-    LiteralExpr [STRING] [testds]
-  ]
-  AS Variable [ Name=$l ]
-]
-Let Variable [ Name=$a ]
-  :=
-  FieldAccessor [
-    Variable [ Name=$l ]
-    Field=address
-  ]

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/documentation-example/documentation-example.1.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/documentation-example/documentation-example.1.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/documentation-example/documentation-example.1.ast
deleted file mode 100644
index ccbee67..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/documentation-example/documentation-example.1.ast
+++ /dev/null
@@ -1,41 +0,0 @@
-Query:
-FunctionCall null.get-record-field-value@2[
-  RecordConstructor [
-    (
-      LiteralExpr [STRING] [id]
-      :
-      LiteralExpr [LONG] [1]
-    )
-    (
-      LiteralExpr [STRING] [project]
-      :
-      LiteralExpr [STRING] [AsterixDB]
-    )
-    (
-      LiteralExpr [STRING] [address]
-      :
-      RecordConstructor [
-        (
-          LiteralExpr [STRING] [city]
-          :
-          LiteralExpr [STRING] [Irvine]
-        )
-        (
-          LiteralExpr [STRING] [state]
-          :
-          LiteralExpr [STRING] [CA]
-        )
-      ]
-    )
-    (
-      LiteralExpr [STRING] [related]
-      :
-      OrderedListConstructor [
-        LiteralExpr [STRING] [Hivestrix]
-        LiteralExpr [STRING] [Preglix]
-        LiteralExpr [STRING] [Apache VXQuery]
-      ]
-    )
-  ]
-  LiteralExpr [STRING] [project]
-]

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/documentation-example/documentation-example.2.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/documentation-example/documentation-example.2.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/documentation-example/documentation-example.2.ast
deleted file mode 100644
index d9f4315..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/documentation-example/documentation-example.2.ast
+++ /dev/null
@@ -1,41 +0,0 @@
-Query:
-FunctionCall null.get-record-field-value@2[
-  RecordConstructor [
-    (
-      LiteralExpr [STRING] [id]
-      :
-      LiteralExpr [LONG] [1]
-    )
-    (
-      LiteralExpr [STRING] [project]
-      :
-      LiteralExpr [STRING] [AsterixDB]
-    )
-    (
-      LiteralExpr [STRING] [address]
-      :
-      RecordConstructor [
-        (
-          LiteralExpr [STRING] [city]
-          :
-          LiteralExpr [STRING] [Irvine]
-        )
-        (
-          LiteralExpr [STRING] [state]
-          :
-          LiteralExpr [STRING] [CA]
-        )
-      ]
-    )
-    (
-      LiteralExpr [STRING] [related]
-      :
-      OrderedListConstructor [
-        LiteralExpr [STRING] [Hivestrix]
-        LiteralExpr [STRING] [Preglix]
-        LiteralExpr [STRING] [Apache VXQuery]
-      ]
-    )
-  ]
-  LiteralExpr [STRING] [address]
-]

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/documentation-example/documentation-example.3.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/documentation-example/documentation-example.3.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/documentation-example/documentation-example.3.ast
deleted file mode 100644
index 701736f..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/documentation-example/documentation-example.3.ast
+++ /dev/null
@@ -1,41 +0,0 @@
-Query:
-FunctionCall null.get-record-field-value@2[
-  RecordConstructor [
-    (
-      LiteralExpr [STRING] [id]
-      :
-      LiteralExpr [LONG] [1]
-    )
-    (
-      LiteralExpr [STRING] [project]
-      :
-      LiteralExpr [STRING] [AsterixDB]
-    )
-    (
-      LiteralExpr [STRING] [address]
-      :
-      RecordConstructor [
-        (
-          LiteralExpr [STRING] [city]
-          :
-          LiteralExpr [STRING] [Irvine]
-        )
-        (
-          LiteralExpr [STRING] [state]
-          :
-          LiteralExpr [STRING] [CA]
-        )
-      ]
-    )
-    (
-      LiteralExpr [STRING] [related]
-      :
-      OrderedListConstructor [
-        LiteralExpr [STRING] [Hivestrix]
-        LiteralExpr [STRING] [Preglix]
-        LiteralExpr [STRING] [Apache VXQuery]
-      ]
-    )
-  ]
-  LiteralExpr [STRING] [related]
-]

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-closed/highly-nested-open.1.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-closed/highly-nested-open.1.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-closed/highly-nested-open.1.ast
deleted file mode 100644
index 0c7b237..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-closed/highly-nested-open.1.ast
+++ /dev/null
@@ -1,62 +0,0 @@
-DataverseUse test
-TypeDecl S [
-  closed RecordType {
-    id : bigint,
-    Species : string
-  }
-]
-TypeDecl GS [
-  closed RecordType {
-    id : bigint,
-    Genus : string,
-    lower : S
-  }
-]
-TypeDecl FGS [
-  closed RecordType {
-    id : bigint,
-    Family : string,
-    lower : GS
-  }
-]
-TypeDecl OFGS [
-  closed RecordType {
-    id : bigint,
-    Order : string,
-    lower : FGS
-  }
-]
-TypeDecl COFGS [
-  closed RecordType {
-    id : bigint,
-    Class : string,
-    lower : OFGS
-  }
-]
-TypeDecl PCOFGS [
-  closed RecordType {
-    id : bigint,
-    Phylum : string,
-    lower : COFGS
-  }
-]
-TypeDecl KPCOFGS [
-  closed RecordType {
-    id : bigint,
-    Kingdom : string,
-    lower : PCOFGS
-  }
-]
-TypeDecl Classification [
-  closed RecordType {
-    id : bigint,
-    fullClassification : KPCOFGS
-  }
-]
-TypeDecl Animal [
-  closed RecordType {
-    id : bigint,
-    class : Classification
-  }
-]
-DatasetDecl Animals(Animal) partitioned by [[id]]

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-closed/highly-nested-open.2.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-closed/highly-nested-open.2.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-closed/highly-nested-open.2.ast
deleted file mode 100644
index 916a59e..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-closed/highly-nested-open.2.ast
+++ /dev/null
@@ -1 +0,0 @@
-DataverseUse test

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-closed/highly-nested-open.3.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-closed/highly-nested-open.3.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-closed/highly-nested-open.3.ast
deleted file mode 100644
index 7e2b064..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-closed/highly-nested-open.3.ast
+++ /dev/null
@@ -1,23 +0,0 @@
-DataverseUse test
-Query:
-SELECT ELEMENT [
-Variable [ Name=$result ]
-]
-FROM [  FunctionCall Metadata.dataset@1[
-    LiteralExpr [STRING] [Animals]
-  ]
-  AS Variable [ Name=$test ]
-]
-Let Variable [ Name=$result ]
-  :=
-  FunctionCall test.get-record-field-value@2[
-    Variable [ Name=$test ]
-    LiteralExpr [STRING] [class]
-  ]
-Orderby
-  FieldAccessor [
-    Variable [ Name=$result ]
-    Field=id
-  ]
-  ASC
-

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-mixed/highly-nested-mixed.1.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-mixed/highly-nested-mixed.1.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-mixed/highly-nested-mixed.1.ast
deleted file mode 100644
index 106255c..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-mixed/highly-nested-mixed.1.ast
+++ /dev/null
@@ -1,58 +0,0 @@
-DataverseUse test
-TypeDecl S [
-  open RecordType {
-    id : bigint
-  }
-]
-TypeDecl GS [
-  closed RecordType {
-    id : bigint,
-    Genus : string,
-    lower : S
-  }
-]
-TypeDecl FGS [
-  open RecordType {
-    id : bigint,
-    Family : string
-  }
-]
-TypeDecl OFGS [
-  closed RecordType {
-    id : bigint,
-    Order : string,
-    lower : FGS
-  }
-]
-TypeDecl COFGS [
-  open RecordType {
-    id : bigint,
-    Class : string,
-    lower : OFGS
-  }
-]
-TypeDecl PCOFGS [
-  closed RecordType {
-    id : bigint,
-    Phylum : string,
-    lower : COFGS
-  }
-]
-TypeDecl KPCOFGS [
-  open RecordType {
-    id : bigint,
-    Kingdom : string
-  }
-]
-TypeDecl Classification [
-  closed RecordType {
-    id : bigint,
-    fullClassification : KPCOFGS
-  }
-]
-TypeDecl Animal [
-  open RecordType {
-    id : bigint
-  }
-]
-DatasetDecl Animals(Animal) partitioned by [[id]]

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-mixed/highly-nested-mixed.2.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-mixed/highly-nested-mixed.2.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-mixed/highly-nested-mixed.2.ast
deleted file mode 100644
index 916a59e..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-mixed/highly-nested-mixed.2.ast
+++ /dev/null
@@ -1 +0,0 @@
-DataverseUse test

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-mixed/highly-nested-mixed.3.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-mixed/highly-nested-mixed.3.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-mixed/highly-nested-mixed.3.ast
deleted file mode 100644
index 7e2b064..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-mixed/highly-nested-mixed.3.ast
+++ /dev/null
@@ -1,23 +0,0 @@
-DataverseUse test
-Query:
-SELECT ELEMENT [
-Variable [ Name=$result ]
-]
-FROM [  FunctionCall Metadata.dataset@1[
-    LiteralExpr [STRING] [Animals]
-  ]
-  AS Variable [ Name=$test ]
-]
-Let Variable [ Name=$result ]
-  :=
-  FunctionCall test.get-record-field-value@2[
-    Variable [ Name=$test ]
-    LiteralExpr [STRING] [class]
-  ]
-Orderby
-  FieldAccessor [
-    Variable [ Name=$result ]
-    Field=id
-  ]
-  ASC
-

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-open/highly-nested-open.1.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-open/highly-nested-open.1.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-open/highly-nested-open.1.ast
deleted file mode 100644
index 64ed1a9..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-open/highly-nested-open.1.ast
+++ /dev/null
@@ -1,53 +0,0 @@
-DataverseUse test
-TypeDecl S [
-  open RecordType {
-    id : bigint
-  }
-]
-TypeDecl GS [
-  open RecordType {
-    id : bigint,
-    Genus : string
-  }
-]
-TypeDecl FGS [
-  open RecordType {
-    id : bigint,
-    Family : string
-  }
-]
-TypeDecl OFGS [
-  open RecordType {
-    id : bigint,
-    Order : string
-  }
-]
-TypeDecl COFGS [
-  open RecordType {
-    id : bigint,
-    Class : string
-  }
-]
-TypeDecl PCOFGS [
-  open RecordType {
-    id : bigint,
-    Phylum : string
-  }
-]
-TypeDecl KPCOFGS [
-  open RecordType {
-    id : bigint,
-    Kingdom : string
-  }
-]
-TypeDecl Classification [
-  open RecordType {
-    id : bigint
-  }
-]
-TypeDecl Animal [
-  open RecordType {
-    id : bigint
-  }
-]
-DatasetDecl Animals(Animal) partitioned by [[id]]

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-open/highly-nested-open.2.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-open/highly-nested-open.2.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-open/highly-nested-open.2.ast
deleted file mode 100644
index 916a59e..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-open/highly-nested-open.2.ast
+++ /dev/null
@@ -1 +0,0 @@
-DataverseUse test

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-open/highly-nested-open.3.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-open/highly-nested-open.3.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-open/highly-nested-open.3.ast
deleted file mode 100644
index 7e2b064..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/highly-nested-open/highly-nested-open.3.ast
+++ /dev/null
@@ -1,23 +0,0 @@
-DataverseUse test
-Query:
-SELECT ELEMENT [
-Variable [ Name=$result ]
-]
-FROM [  FunctionCall Metadata.dataset@1[
-    LiteralExpr [STRING] [Animals]
-  ]
-  AS Variable [ Name=$test ]
-]
-Let Variable [ Name=$result ]
-  :=
-  FunctionCall test.get-record-field-value@2[
-    Variable [ Name=$test ]
-    LiteralExpr [STRING] [class]
-  ]
-Orderby
-  FieldAccessor [
-    Variable [ Name=$result ]
-    Field=id
-  ]
-  ASC
-

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/tiny-social-example/tiny-social-example.1.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/tiny-social-example/tiny-social-example.1.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/tiny-social-example/tiny-social-example.1.ast
deleted file mode 100644
index 2ab67ab..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/tiny-social-example/tiny-social-example.1.ast
+++ /dev/null
@@ -1,50 +0,0 @@
-DataverseUse TinySocial
-TypeDecl TwitterUserType [
-  open RecordType {
-    screen-name : string,
-    lang : string,
-    friends_count : bigint,
-    statuses_count : bigint,
-    name : string,
-    followers_count : bigint
-  }
-]
-TypeDecl TweetMessageType [
-  closed RecordType {
-    tweetid : string,
-    user : TwitterUserType,
-    sender-location : point?,
-    send-time : datetime,
-    referred-topics : UnorderedList <string>
-,
-    message-text : string
-  }
-]
-TypeDecl EmploymentType [
-  open RecordType {
-    organization-name : string,
-    start-date : date,
-    end-date : date?
-  }
-]
-TypeDecl FacebookUserType [
-  closed RecordType {
-    id : bigint,
-    alias : string,
-    name : string,
-    user-since : datetime,
-    friend-ids : UnorderedList <bigint>
-,
-    employment : OrderedList [EmploymentType]
-
-  }
-]
-TypeDecl FacebookMessageType [
-  closed RecordType {
-    message-id : bigint,
-    author-id : bigint,
-    in-response-to : bigint?,
-    sender-location : point?,
-    message : string
-  }
-]

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/tiny-social-example/tiny-social-example.2.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/tiny-social-example/tiny-social-example.2.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/tiny-social-example/tiny-social-example.2.ast
deleted file mode 100644
index a6e2ec9..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/tiny-social-example/tiny-social-example.2.ast
+++ /dev/null
@@ -1,5 +0,0 @@
-DataverseUse TinySocial
-DatasetDecl FacebookUsers(FacebookUserType) partitioned by [[id]]
-DatasetDecl FacebookMessages(FacebookMessageType) partitioned by [[message-id]]
-DatasetDecl TwitterUsers(TwitterUserType) partitioned by [[screen-name]]
-DatasetDecl TweetMessages(TweetMessageType) partitioned by [[tweetid]]

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/tiny-social-example/tiny-social-example.3.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/tiny-social-example/tiny-social-example.3.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/tiny-social-example/tiny-social-example.3.ast
deleted file mode 100644
index f36d0ea..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/tiny-social-example/tiny-social-example.3.ast
+++ /dev/null
@@ -1 +0,0 @@
-DataverseUse TinySocial

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/tiny-social-example/tiny-social-example.4.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/tiny-social-example/tiny-social-example.4.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/tiny-social-example/tiny-social-example.4.ast
deleted file mode 100644
index 5ba98ed..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-field-value/tiny-social-example/tiny-social-example.4.ast
+++ /dev/null
@@ -1,37 +0,0 @@
-DataverseUse TinySocial
-Query:
-SELECT ELEMENT [
-Variable [ Name=$result ]
-]
-FROM [  FunctionCall Metadata.dataset@1[
-    LiteralExpr [STRING] [TweetMessages]
-  ]
-  AS Variable [ Name=$r ]
-,
-  FunctionCall TinySocial.get-record-fields@1[
-    Variable [ Name=$r ]
-  ]
-  AS Variable [ Name=$f ]
-]
-Let Variable [ Name=$result ]
-  :=
-  FunctionCall TinySocial.get-record-field-value@2[
-    Variable [ Name=$r ]
-    FieldAccessor [
-      Variable [ Name=$f ]
-      Field=field-name
-    ]
-  ]
-Where
-  OperatorExpr [
-    FieldAccessor [
-      Variable [ Name=$f ]
-      Field=field-type
-    ]
-    =
-    LiteralExpr [STRING] [STRING]
-  ]
-Orderby
-  Variable [ Name=$result ]
-  ASC
-

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-fields/documentation-example/documentation-example.1.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-fields/documentation-example/documentation-example.1.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-fields/documentation-example/documentation-example.1.ast
deleted file mode 100644
index f9cdeed..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-fields/documentation-example/documentation-example.1.ast
+++ /dev/null
@@ -1,40 +0,0 @@
-Query:
-FunctionCall null.get-record-fields@1[
-  RecordConstructor [
-    (
-      LiteralExpr [STRING] [id]
-      :
-      LiteralExpr [LONG] [1]
-    )
-    (
-      LiteralExpr [STRING] [project]
-      :
-      LiteralExpr [STRING] [AsterixDB]
-    )
-    (
-      LiteralExpr [STRING] [address]
-      :
-      RecordConstructor [
-        (
-          LiteralExpr [STRING] [city]
-          :
-          LiteralExpr [STRING] [Irvine]
-        )
-        (
-          LiteralExpr [STRING] [state]
-          :
-          LiteralExpr [STRING] [CA]
-        )
-      ]
-    )
-    (
-      LiteralExpr [STRING] [related]
-      :
-      OrderedListConstructor [
-        LiteralExpr [STRING] [Hivestrix]
-        LiteralExpr [STRING] [Preglix]
-        LiteralExpr [STRING] [Apache VXQuery]
-      ]
-    )
-  ]
-]

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/10351a74/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-fields/tiny-social-example-no-complex-types/tiny-social-example-no-complex-types.1.ast
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-fields/tiny-social-example-no-complex-types/tiny-social-example-no-complex-types.1.ast
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-fields/tiny-social-example-no-complex-types/tiny-social-example-no-complex-types.1.ast
deleted file mode 100644
index b1157b9..0000000
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/records/get-record-fields/tiny-social-example-no-complex-types/tiny-social-example-no-complex-types.1.ast
+++ /dev/null
@@ -1,88 +0,0 @@
-DataverseUse TinySocial
-TypeDecl TwitterUserType [
-  open RecordType {
-    screen-name : string,
-    lang : string,
-    friends_count : bigint,
-    statuses_count : bigint
-  }
-]
-TypeDecl TweetMessageType [
-  closed RecordType {
-    tweetid : string,
-    user : TwitterUserType,
-    sender-location : point?,
-    send-time : datetime,
-    referred-topics : UnorderedList <string>
-,
-    message-text : string
-  }
-]
-TypeDecl EmploymentType [
-  open RecordType {
-    organization-name : string,
-    start-date : date,
-    end-date : date?
-  }
-]
-TypeDecl FacebookUserType [
-  closed RecordType {
-    id : bigint,
-    alias : string,
-    name : string,
-    user-since : datetime,
-    friend-ids : UnorderedList <bigint>
-,
-    employment : OrderedList [EmploymentType]
-
-  }
-]
-TypeDecl FacebookMessageType [
-  closed RecordType {
-    message-id : bigint,
-    author-id : bigint,
-    in-response-to : bigint?,
-    sender-location : point?,
-    message : string
-  }
-]
-TypeDecl TwitterUserAlternateType [
-  open RecordType {
-    screen-name : string,
-    lang : string,
-    friends_count : bigint,
-    statuses_count : bigint
-  }
-]
-TypeDecl TweetMessageAlternateType [
-  closed RecordType {
-    tweetid : string,
-    sender-location : point?,
-    send-time : datetime,
-    message-text : string
-  }
-]
-TypeDecl EmploymentAlternateType [
-  open RecordType {
-    organization-name : string,
-    start-date : date,
-    end-date : date?
-  }
-]
-TypeDecl FacebookUserAlternateType [
-  closed RecordType {
-    id : bigint,
-    alias : string,
-    name : string,
-    user-since : datetime
-  }
-]
-TypeDecl FacebookMessageAlternateType [
-  closed RecordType {
-    message-id : bigint,
-    author-id : bigint,
-    in-response-to : bigint?,
-    sender-location : point?,
-    message : string
-  }
-]

Reply via email to