Python: rawQuery function for Trino

2 months 1 week ago #2714 by Herson
Hi All,

Does anyone know whether the legacy rawquery(self, SQLcmd) works with the new Trino platform?  Or is there an equivalent?

The PYTHON function was made available via "from pyopensky.ssh_client import.SSHClient2"  i.e.

    def rawquery(self, SQLcmd):
        """Perform a raw impala query.
        Args:
            SQLcmd (str): Raw query command
        Returns:
            pandas.DataFrame: Impala query results

I can't find it in the new world of Trino.

Thanks.

Richard.
 

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum
This website uses cookies to offer you the best experience of our services. By using this website you agree to our privacy policy!