Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ class TablesPlotOpDesc extends PythonOperatorDescriptor {
var includedColumns: List[TablesConfig] = List()

private def getAttributes: String =
includedColumns.map(c => pyb"""${c.attributeName}""").mkString("','")
// Join with a plain comma: each column renders to a decode_python_template(...)
// call, so joining with the literal ',' would put a string right after a call
// and produce invalid Python.
includedColumns.map(c => pyb"""${c.attributeName}""").mkString(",")

def manipulateTable(): PythonTemplateBuilder = {
assert(includedColumns.nonEmpty)
Expand Down
Loading