iris-hep / func_adl_xAOD

Client interface to send a hierarchical SQL-like query to an xAOD backend
0 stars 5 forks source link

Error message returned from bad collection name is... not reasonable. #181

Open gordonwatts opened 3 years ago

gordonwatts commented 3 years ago

Here was the call:

jets = (ds
          .SelectMany(lambda e: e.CaloClusters('CaloClusters'))
          .Select(lambda cluster: cluster.pt() / 1000.0)
          .AsAwkwardArray('ClusterPt')
          .value())

And the error message:

'ServiceX rejected the transformation request: (400){"message": "Failed to submit transform request: Failed to generate translation code: Internal Error: attempted to get C++ representation for AST note \\"Name(id=\'e\', ctx=Load())\\", but failed."}\n')

Error message should have indicated the CaloClusters isn't known.