Coverage for mindsdb / integrations / handlers / greptimedb_handler / greptimedb_handler.py: 0%

5 statements  

« prev     ^ index     » next       coverage.py v7.13.1, created at 2026-01-21 00:36 +0000

1""" 

2This is the GreptimeDB integration handler for mindsdb. It provides the routines 

3which provide for interacting with the database. 

4 

5Because GreptimeDB has built-in MySQL wire protocol support, this handler is simply 

6 a subclass of mindsdb's MySQL handler 

7""" 

8 

9from mindsdb.integrations.handlers.mysql_handler import Handler as MySQLHandler 

10 

11 

12class GreptimeDBHandler(MySQLHandler): 

13 """ 

14 This handler handles connection and execution of GreptimeDB statements. 

15 It's a subclass of default mysql handler 

16 """ 

17 

18 name = 'greptimedb' 

19 

20 def __init__(self, name, **kwargs): 

21 super().__init__(name, **kwargs)