CData Python Connector for HPCC

Build 21.0.8011


The available columns for any given table are fetched from a system table called "sys_tablecolumns". A specific table name is provided in the WHERE criteria to restrict the table from which the column information is fetched:

import cdata.hpcc as mod
conn = mod.connect("URL=;User=test;Password=xA123456;Version=1;Cluster=hthor;")
cur = conn.cursor()
cmd = "SELECT * FROM sys_tablecolumns WHERE TableName = 'hpcc::test::person'"
rs = cur.fetchall()
for row in rs:

Copyright (c) 2021 CData Software, Inc. - All rights reserved.
Build 21.0.8011