I have a dataflow job that scans two bigtables and then joins the Result
of the scan by the row key.
I am trying to set the coder to HbaseResultCoder but I keep getting an error that its not the correct type
PCollection<KV<String, KV<Result, Result>>> rowsJoined = JoinerUtils.leftJoin(oldBtScan, newBtScan)
.setCoder(KvCoder.of(StringUtf8Coder.of(), KvCoder.of(HBaseResultCoder.getInstance(), HBaseResultCoder.getInstance())));
Error is reason: no instance(s) of type variable(s) K exist so that HBaseResultCoder conforms to Coder<K>