Big Data Development Kit for OVO Big Data
Project description
OVO Test Kit
installation
create installer :
python3 setup.py sdist bdist_wheel
installer will be at dist/
directory
install using :
pip3 install dist/<generated-file>.whl
Quickstart
from ovobdkit.testkit import OVOTestKit
import unittest
class TestMlmMerchant(OVOTestKit):
TABLE_NAME = 'ovo_raw.ovo_smp_mlm_merchant'
FIELDS = '''
id BigInt
merchant_code String
grab_id String
'''
def test_having_no_duplicates(self):
self.duplicate_check(TestMlmMerchant.TABLE_NAME)
if __name__ == '__main__':
unittest.main()
more? see examples directories
Functionalities
- Unit Test
- Functional Test
- Communicate to Airflow
- Communicate to OMT
Common case
- get all (example / merchant_owner)
- delta (example / springreward/txn_ledger)
- delta with update (example/springreward/customer_transaction)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ovobdkit-1.0.10.tar.gz
(8.3 kB
view hashes)
Built Distribution
ovobdkit-1.0.10-py3-none-any.whl
(17.1 kB
view hashes)
Close
Hashes for ovobdkit-1.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0932dc556e76c0f4788a63f9e88692079318cfe2ffadf2736565f3fcbd37694 |
|
MD5 | 842a4cacb837b0e32960f8162795937b |
|
BLAKE2b-256 | 41101a5aeb0f5e27ba283738485202a911e48afa082584ef455ad3080de15ad3 |