in datafusion/cudf.py [0:0]
def __init__(self, context, logging_level=logging.INFO):
"""
Create a new Session.
"""
# Cudf requires a provided context
self.context = context
# Set the logging level for this SQL context
logging.basicConfig(level=logging_level)
# Name of the root catalog
self.catalog_name = self.DEFAULT_CATALOG_NAME
# Name of the root schema
self.schema_name = self.DEFAULT_SCHEMA_NAME
# Add the schema to the context
sch = SqlSchema(self.schema_name)
self.schemas = {}
self.schemas[self.schema_name] = sch
self.context.register_schema(self.schema_name, sch)