bitsail icon indicating copy to clipboard operation
bitsail copied to clipboard

[BitSail][Optimization] Improve FakeSource connector.

Open BlockLiu opened this issue 3 years ago • 4 comments

Describe the problem or proposal

Improve FakeSource connectors.

Task List

  • [ ] #242
  • [ ] #244

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR.

BlockLiu avatar Dec 14 '22 03:12 BlockLiu

Fake Connector does not seem to be able to declare whether the field is nullable, this can be useful sometimes @BlockLiu

kyle-hawk avatar Jan 14 '23 13:01 kyle-hawk

Fake Connector support bigdecimal field, but seems not support specifying precision and scale, like this

        {
          "name": "decimal_type",
          "type": "bigdecimal(9,9)"
        }

this can be useful when we test decimal fields of sink connectors

kyle-hawk avatar Jan 15 '23 14:01 kyle-hawk

Yep, Fake connector is quite simple and can only be used for functional tests. It's weak for data verification tests. Would you like to improve it?

BlockLiu avatar Jan 16 '23 03:01 BlockLiu

sure, I'd like to join to improve this

kyle-hawk avatar Jan 16 '23 09:01 kyle-hawk