view_file.txt.attr 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. {
  2. "_yql_view_file_eval"="SELECT EvaluateCode(FuncCode('FileContent', AtomCode('foo.txt'))) as k, subkey as s, value as v FROM self";
  3. "_yql_view_file_outer"="SELECT FileContent('foo' || '.txt') as k, subkey as s, value as v FROM self";
  4. "_yql_view_file_inner"="pragma file('foo.txt','http_test://foo.txt');SELECT FileContent('foo.txt') as k, subkey as s, value as v FROM self";
  5. "_yql_row_spec" = {
  6. "Type" = [
  7. "StructType";
  8. [
  9. [
  10. "key";
  11. [
  12. "DataType";
  13. "String"
  14. ]
  15. ];
  16. [
  17. "subkey";
  18. [
  19. "DataType";
  20. "String"
  21. ]
  22. ];
  23. [
  24. "value";
  25. [
  26. "DataType";
  27. "String"
  28. ]
  29. ]
  30. ]
  31. ]
  32. }
  33. }