/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package io.trino.plugin.blackhole;

import io.trino.spi.connector.ConnectorMergeTableHandle;

import static java.util.Objects.requireNonNull;

public class BlackHoleMergeTableHandle
        implements ConnectorMergeTableHandle
{
    private final BlackHoleTableHandle tableHandle;

    public BlackHoleMergeTableHandle(BlackHoleTableHandle tableHandle)
    {
        this.tableHandle = requireNonNull(tableHandle, "tableHandle is null");
    }

    @Override
    public BlackHoleTableHandle getTableHandle()
    {
        return tableHandle;
    }
}

@@ -587,24 +587,131 @@
 blackhole;%0A%0A
+import com.fasterxml.jackson.annotation.JsonCreator;%0Aimport com.fasterxml.jackson.annotation.JsonProperty;%0A
 import io.tr
@@ -751,24 +751,24 @@
 ableHandle;%0A
-
 %0Aimport stat
@@ -944,16 +944,33 @@
 andle;%0A%0A
+    @JsonCreator%0A
     publ
@@ -998,16 +998,45 @@
 eHandle(
+@JsonProperty(%22tableHandle%22) 
 BlackHol
@@ -1153,16 +1153,34 @@
 %0A    %7D%0A%0A
+    @JsonProperty%0A
     @Ove

Add missing @JsonCreator/@JsonProperty in BlackHoleMergeTableHandle