MCPcopy Create free account
hub / github.com/ddf-project/DDF / sql

Method sql

python/ddf/ddf_manager.py:26–31  ·  view source on GitHub ↗

Execute a sql command and return a list of strings :param command: the sql command to run

(self, command)

Source from the content-addressed store, hash-verified

24 self._jdm = _gateway.jvm.io.ddf.DDFManager.get(engine_name)
25
26 def sql(self, command):
27 """
28 Execute a sql command and return a list of strings
29 :param command: the sql command to run
30 """
31 return self._jdm.sql(command)
32
33 def sql2ddf(self, command):
34 """

Callers 2

testConfusionMatrixMethod · 0.95
mainMethod · 0.95

Calls 1

sqlMethod · 0.65

Tested by 1

testConfusionMatrixMethod · 0.76