Result set 1:
columns {
  name: "key"
  type {
    type_id: STRING
  }
}
columns {
  name: "med"
  type {
    optional_type {
      item {
        type_id: DOUBLE
      }
    }
  }
}
columns {
  name: "ptuple"
  type {
    optional_type {
      item {
        tuple_type {
          elements {
            type_id: DOUBLE
          }
          elements {
            type_id: DOUBLE
          }
          elements {
            type_id: DOUBLE
          }
        }
      }
    }
  }
}
columns {
  name: "pstruct"
  type {
    optional_type {
      item {
        struct_type {
          members {
            name: "p20"
            type {
              type_id: DOUBLE
            }
          }
          members {
            name: "p40"
            type {
              type_id: DOUBLE
            }
          }
          members {
            name: "p60"
            type {
              type_id: DOUBLE
            }
          }
        }
      }
    }
  }
}
columns {
  name: "plist"
  type {
    optional_type {
      item {
        list_type {
          item {
            type_id: DOUBLE
          }
        }
      }
    }
  }
}
rows {
  items {
    bytes_value: "bar"
  }
  items {
    double_value: 3
  }
  items {
    items {
      double_value: 1.5
    }
    items {
      double_value: 2.5
    }
    items {
      double_value: 3.5
    }
  }
  items {
    items {
      double_value: 1.5
    }
    items {
      double_value: 2.5
    }
    items {
      double_value: 3.5
    }
  }
  items {
    items {
      double_value: 1.5
    }
    items {
      double_value: 2.5
    }
    items {
      double_value: 3.5
    }
  }
}
rows {
  items {
    bytes_value: "foo"
  }
  items {
    double_value: 1
  }
  items {
    items {
      double_value: 1
    }
    items {
      double_value: 1
    }
    items {
      double_value: 1
    }
  }
  items {
    items {
      double_value: 1
    }
    items {
      double_value: 1
    }
    items {
      double_value: 1
    }
  }
  items {
    items {
      double_value: 1
    }
    items {
      double_value: 1
    }
    items {
      double_value: 1
    }
  }
}
Result set 2:
columns {
  name: "med"
  type {
    optional_type {
      item {
        type_id: DOUBLE
      }
    }
  }
}
columns {
  name: "ptuple"
  type {
    optional_type {
      item {
        tuple_type {
          elements {
            type_id: DOUBLE
          }
          elements {
            type_id: DOUBLE
          }
          elements {
            type_id: DOUBLE
          }
        }
      }
    }
  }
}
columns {
  name: "pstruct"
  type {
    optional_type {
      item {
        struct_type {
          members {
            name: "p20"
            type {
              type_id: DOUBLE
            }
          }
          members {
            name: "p40"
            type {
              type_id: DOUBLE
            }
          }
          members {
            name: "p60"
            type {
              type_id: DOUBLE
            }
          }
        }
      }
    }
  }
}
columns {
  name: "plist"
  type {
    optional_type {
      item {
        list_type {
          item {
            type_id: DOUBLE
          }
        }
      }
    }
  }
}
rows {
  items {
    double_value: 1
  }
  items {
    items {
      double_value: 1
    }
    items {
      double_value: 1
    }
    items {
      double_value: 1.5
    }
  }
  items {
    items {
      double_value: 1
    }
    items {
      double_value: 1
    }
    items {
      double_value: 1.5
    }
  }
  items {
    items {
      double_value: 1
    }
    items {
      double_value: 1
    }
    items {
      double_value: 1.5
    }
  }
}
