yes, the comments are ported from PTFOperator.java. here QueryRef refer to PartitionedTableFunctionDef, QueryDefDesserializer refer to PTFDeserializer. the comments should be updated, i'll do that.