GithubHelp home page GithubHelp logo

kettle's People

Contributors

inouet avatar teefax avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

kettle's Issues

retreiving data

@inouet Love the package, clean and follows good strict guidelines. But i am struggling to see why we limit data being returned unless it is defined in the schema. The whole point of noSql data is that everything and anything is returned - return whatever you have got for that record. Mantaining a schema means we may as well use a structured database?

Cannot call NULL or NOT_NULL

These two conditions for filtering should not have any extra attributes sent with them. The build conditions can be changed to check for condition2 being present - this allows us to call as follows:

->filter('column', 'NULL', false)

public function _buildConditions($conditions)
    {
        $result = array();

        foreach ($conditions as $i => $condition) {
            $key = $condition[0];
            $operator = $condition[1];

            $attributes = array();

           if ($condition[2] !== false) {

                $value = $condition[2];

                if (!is_array($value)) {
                    $value = array((string) $value);
                }

                foreach ($value as $v) {
                    $attributes[] = array($this->_getDataType($key) => (string) $v);
                }
            }

            $result[$key] = array(
                'ComparisonOperator' => $operator,
                'AttributeValueList' => $attributes,
            );
        }
        return $result;
    }

Is it possible to add page-size ?

In dynamodb we can use page size, so with this package can I sent page size?

aws dynamodb query --table-name Movies \
    --projection-expression "title" \
    --key-condition-expression "#y = :yyyy" \
    --expression-attribute-names '{"#y":"year"}' \
    --expression-attribute-values '{":yyyy":{"N":"1993"}}' \
    --page-size 5 \
    --debug

Global config

Hi there!!! Is there a way to config kettle on a global way?
Really good work!! Thanks in advance.
Cheers from Brazil.

AWS Credentials from iam?

Is there anyway for Kettle to get the AWS credentials from environment variables like the iam or env vars?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.