duplicates = multiple editions
A Classical Introduction to Modern Number Theory,Kenneth IrelandMichael Rosen
A Classical Introduction to Modern Number Theory,Kenneth IrelandMichael Rosen
case class RemoteIteratorWrapper[T](underlying: org.apache.hadoop.fs.RemoteIterator[T]) extends scala.collection.AbstractIterator[T] with scala.collection.Iterator[T] { | |
def hasNext = underlying.hasNext | |
def next() = underlying.next() | |
} | |
object Conversions { | |
implicit def remoteIterator2ScalaIterator[T](underlying: org.apache.hadoop.fs.RemoteIterator[T]) : scala.collection.Iterator[T] = RemoteIteratorWrapper[T](underlying) | |
} |
console.log('Loading event'); | |
var AWS = require('aws-sdk'); | |
var dynamodb = new AWS.DynamoDB({apiVersion: '2012-08-10'}); | |
exports.handler = function(event, context) { | |
console.log("Event data:"); | |
console.log(JSON.stringify(event, null, ' ')); | |
dynamodb.listTables(function(err, data) { | |
console.log(JSON.stringify(data, null, ' ')); |
SELECT | |
DB_NAME(d.database_id) AS database_name | |
, LEFT (PARSENAME(d.statement, 1), 32) AS table_name | |
, ISNULL (d.equality_columns , '') AS equality_columns | |
, ISNULL (d.inequality_columns , '') AS inequality_columns | |
, ISNULL (d.included_columns , '') AS include_columns | |
, s.avg_total_user_cost -- This column represent the average total user cost each time when the user query was executed | |
, s.avg_user_impact -- This column represents the value in percentages. It informs us the amount of improvement which you can get if the index is created. | |
, s.unique_compiles |