avro (spark/RichDataset.scala)

TransmogrifAI · features/src/main/scala/com/salesforce/op/utils/spark/RichDataset.scala · BSD-3-Clause
crm

Adds Avro read/write and query helpers to Spark DataFrames.

// Source: https://github.com/salesforce/TransmogrifAI | License: BSD-3-Clause | Copyright 2017, Salesforce.com, Inc
// Provided via justclaw.it.com; keep this notice with the code.
/*
 * Copyright (c) 2017, Salesforce.com, Inc.
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * * Redistributions of source code must retain the above copyright notice, this
 *   list of conditions and the following disclaimer.
 *
 * * Redistributions in binary form must reproduce the above copyright notice,
 *   this list of conditions and the following disclaimer in the documentation
 *   and/or other materials provided with the distribution.
 *
 * * Neither the name of the copy

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key