class_docstr: InfluxDB Tables implementation
docstr: Pulls data from the InfluxDB "query" API endpoint
  Parameters
  ----------
  query : ast.Select
     Given SQL SELECT query
  Returns
  -------
  pd.DataFrame of particular InfluxDB table matching the query
  Raises
  ------
  ValueError
      If the query contains an unsupported condition
code: def select(self, query: ast.Select) -> pd.DataFrame:
      """Pulls data from the InfluxDB "query" API endpoint
      Parameters
      ----------
      query : ast.Select
         Given SQL SELECT query
      Returns
      -------
      pd.DataFrame of particular InfluxDB table matching the query
      Raises
      ------
      ValueError
          If the query contains an unsupported condition
      """
  
      table_name = self.handler.connection_data["influxdb_table_name"]
      select_statement_parser = SELECTQueryParser(
          query, "tables", self.get_columns()
      )
      (
          selected_columns,
          where_conditions,
          order_by_conditions,
          _,
      ) = select_statement_parser.parse_query()
  
      try:
          selected_columns.remove("name")
          selected_columns.remove("tags")
      except Exception as e:
          logger.warn(e)
  
      formatted_query = self.get_select_query(
          table_name,
          selected_columns,
          where_conditions,
          order_by_conditions,
          query.limit,
      )
      influxdb_tables_df = self.handler.call_influxdb_tables(
          formatted_query
      )
  
      return influxdb_tables_df
  
file_path: mindsdb/mindsdb/integrations/handlers/influxdb_handler/influxdb_tables.py
imports: import pandas
  from typing import List
  from mindsdb.integrations.libs.api_handler import APITable
  from mindsdb.integrations.utilities.sql_utils import extract_comparison_conditions
  from mindsdb.utilities import log
  from mindsdb_sql.parser import ast
  from mindsdb.integrations.handlers.utilities.query_utilities.select_query_utilities import SELECTQueryParser, SELECTQueryExecutor
label_desc: Use image node_id 1 for calling the InfluxDBTables obj's underlying member method code with example usage: obj.select(query) and returns: influxdb_tables_df