code: def test_parquet_dataset_columns_cannot_be_list_in_graph_execution():
      """Test case to ensure columns cannot be a list in graph mode"""
  
      @tf.function(autograph=False)
      def read_parquet():
          columns = [
              "boolean_field",
              "int32_field",
              "int64_field",
              "float_field",
              "double_field",
              "ba_field",
              "flba_field",
          ]
          return tfio.IODataset.from_parquet(filename, columns)
  
      try:
          parquet = read_parquet()
      except ValueError as e:
          assert "can only be a dictionary in graph execution" in str(e)
  
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 4 for calling a global function with example usage: test_parquet_dataset_columns_cannot_be_list_in_graph_execution() and returns: tfio