Skip to content

Commit

Permalink
params
Browse files Browse the repository at this point in the history
Signed-off-by: Clemens Vasters <clemens@vasters.com>
  • Loading branch information
clemensv committed Apr 3, 2024
1 parent 9ab5182 commit 791ef83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions avrotize/avrotize.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,19 @@ def main():
a2k_parser.add_argument('--avsc', type=str, help='Path to the Avro schema file', required=True)
a2k_parser.add_argument('--kusto', type=str, help='Path to the Kusto table', required=True)
a2k_parser.add_argument('--record-type', type=str, help='Record type in the Avro schema', required=False)
a2k_parser.add_argument('--emit_cloudevents_columns', action='store_true', help='Add CloudEvents columns to the Kusto table', default=False)
a2k_parser.add_argument('--emit-cloudevents-columns', action='store_true', help='Add CloudEvents columns to the Kusto table', default=False)

a2tsql_parser = subparsers.add_parser('a2tsql', help='Convert Avro schema to T-SQL schema')
a2tsql_parser.add_argument('--avsc', type=str, help='Path to the Avro schema file', required=True)
a2tsql_parser.add_argument('--tsql', type=str, help='Path to the T-SQL table', required=True)
a2tsql_parser.add_argument('--record-type', type=str, help='Record type in the Avro schema', required=False)
a2tsql_parser.add_argument('--emit_cloudevents_columns', action='store_true', help='Add CloudEvents columns to the T-SQL table', default=False)
a2tsql_parser.add_argument('--emit-cloudevents-columns', action='store_true', help='Add CloudEvents columns to the T-SQL table', default=False)

a2pq_parser = subparsers.add_parser('a2pq', help='Convert Avro schema to Parquet schema')
a2pq_parser.add_argument('--avsc', type=str, help='Path to the Avro schema file', required=True)
a2pq_parser.add_argument('--parquet', type=str, help='Path to the Parquet file', required=True)
a2pq_parser.add_argument('--record-type', type=str, help='Record type in the Avro schema', required=False)
a2pq_parser.add_argument('--emit_cloudevents_columns', action='store_true', help='Add CloudEvents columns to the Parquet file', default=False)
a2pq_parser.add_argument('--emit-cloudevents-columns', action='store_true', help='Add CloudEvents columns to the Parquet file', default=False)

asn2a_parser = subparsers.add_parser('asn2a', help='Convert ASN.1 schema to Avro schema')
asn2a_parser.add_argument('--asn', type=str, nargs='+', help='Path(s) to the ASN.1 schema file(s)', required=True)
Expand Down

0 comments on commit 791ef83

Please sign in to comment.