Skip to content

Commit

Permalink
Check for identifier field in values
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Hafner committed Dec 24, 2024
1 parent 4265588 commit 822cd56
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import org.polypheny.db.plan.AlgTraitSet;
import org.polypheny.db.plan.Convention;
import org.polypheny.db.rex.RexDynamicParam;
import org.polypheny.db.transaction.locking.IdentifierUtils;
import org.polypheny.db.type.entity.document.PolyDocument;


Expand Down Expand Up @@ -61,6 +62,7 @@ public class LogicalDocumentValues extends DocumentValues implements RelationalT
*/
public LogicalDocumentValues( AlgCluster cluster, AlgTraitSet traitSet, List<PolyDocument> document ) {
super( cluster, traitSet, document );
IdentifierUtils.throwIfContainsIdentifierKey( document );
}


Expand Down

0 comments on commit 822cd56

Please sign in to comment.