You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SqlConnection conn = new SqlConnection(StreamExtensions.getConnectionString());
conn.Open();
SqlCommand cmd = new SqlCommand(queryDB, conn);
using (var reader = cmd.ExecuteReader())
{
using (var parser = new ChoParquetWriter("test.parquet")
.Configure(c => c.CompressionMethod = CompressionMethod.Snappy)
.Configure(c => c.LiteParsing = false)
.Configure(c => c.RowGroupSize = 20)
.NotifyAfter(1000)
.OnRowsWritten((o, e) => $"Rows: {e.RowsWritten} <--- {DateTime.Now}".Print()))
{
if (reader.HasRows)
{
parser.Write(reader);
}
}
}
conn.Close();
I am using the above code to perform a dbraeder to parquet conversion but I am facing below cast issue,
The text was updated successfully, but these errors were encountered:
Hi,
The text was updated successfully, but these errors were encountered: