Group
Extension

Matches 1

SQL-Translator-Producer-GoogleBigQuery ( K/KA/KARUPA/SQL-Translator-Producer-GoogleBigQuery-0.01.tar.gz, KARUPA, 2016; MetaCPAN )
SQL-Translator-Producer-GoogleBigQuery/lib/SQL/Translator/Producer/GoogleBigQuery.pm ( view source; MetaCPAN )
e 5.008001;
use strict;
use warnings;

our $VERSION = "0.01";

use JSON::PP;
use DBI qw/:sql_types/;
use File::Spec;

my $_JSON = JSON::PP->new;
my %_NAMEMAP = map { $_ => *{$DBI::{$_}}{CODE}->() } @{
= File::Spec->catfile($outdir, "$table->{name}.json");
        open my $fh, '>', $file or die "$file: $!"; # uncoverable branch
        print {$fh} $_JSON->encode($table->{schema});
        close $fh;


This module will produce text output of the schema suitable for Google BigQuery.
It will be a '.json' file of BigQuery schema format.

=head1 ARGUMENTS

=over 4

=item C<outdir>

Base directory of o

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.