code: def test_parquet_dataset_ordered_dict():
      """Test case for order and dict of parquet dataset"""
      parquet = tfio.IODataset.from_parquet(filename)
      assert parquet.element_spec == collections.OrderedDict(
          [
              (
                  b"boolean_field",
                  tf.TensorSpec(shape=(), dtype=tf.bool),
              ),
              (b"int32_field", tf.TensorSpec(shape=(), dtype=tf.int32)),
              (b"int64_field", tf.TensorSpec(shape=(), dtype=tf.int64)),
              (b"int96_field", tf.TensorSpec(shape=(), dtype=tf.int64)),
              (
                  b"float_field",
                  tf.TensorSpec(shape=(), dtype=tf.float32),
              ),
              (
                  b"double_field",
                  tf.TensorSpec(shape=(), dtype=tf.float64),
              ),
              (b"ba_field", tf.TensorSpec(shape=(), dtype=tf.string)),
              (b"flba_field", tf.TensorSpec(shape=(), dtype=tf.string)),
          ]
      )
  
file_path: io/tests/test_parquet.py
imports: import os
  import collections
  import numpy
  import tensorflow
  import tensorflow_io
  import pandas
label_desc: Use image node_id 2 for calling a global function with example usage: test_parquet_dataset_ordered_dict() without return types